Skip to content

Commit 531264d

Browse files
Adds the missing using reference to the UWP tutorial
1 parent bd4b0b2 commit 531264d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

articles/active-directory/develop/tutorial-v2-windows-uwp.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,12 @@ Add the following new method to *MainPage.xaml.cs*:
292292

293293
In this method, you're using the custom access token provider `TokenProvider` to connect the `SignInUserAndGetTokenUsingMSAL` method to the Microsoft Graph .NET SDK and create an authenticated client.
294294

295+
To use the `BaseBearerTokenAuthenticationProvider`, in the *MainPage.xaml.cs* file, add the following reference:
296+
297+
```cs
298+
using Microsoft.Kiota.Abstractions.Authentication;
299+
```
300+
295301
#### More information on making a REST call against a protected API
296302

297303
In this sample application, the `GetGraphServiceClient` method instantiates `GraphServiceClient` by using an access token. Then, `GraphServiceClient` is used to get the user's profile information from the **me** endpoint.

0 commit comments

Comments
 (0)