You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Getting-Started.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ The toolkit is available as NuGet packages that can be added to any existing or
14
14
> [!NOTE]
15
15
> Visual Studio 2015 is not supported with the Windows Community Toolkit 2.0 or higher
16
16
17
-
2. Open an existing project, or create a new project using the Blank App template under Visual C# -> Windows -> Universal. **Important**: Build 16299 or higher is supported by current version of the Toolkit.
17
+
2. Open an existing project, or create a new project using the Blank App template under Visual C# -> Windows -> Universal. **Important**: Version 1809 (Build 17763) or higher is supported by current version of the Toolkit.
18
18
19
19
3. In Solution Explorer panel, right click on your project name and select **Manage NuGet Packages**. Search for **Microsoft.Toolkit.UWP**, and choose your desired [NuGet Packages](Nuget-Packages.md) from the list.
Copy file name to clipboardExpand all lines: docs/archive/graph/providers/InteractiveProviderBehavior.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ dev_langs:
10
10
# InteractiveProviderBehavior XAML Behavior
11
11
12
12
> [!WARNING]
13
-
> This API has been removed. For the latest guidance on using the Microsoft Graph in the Toolkit check out the [Windows Community Toolkit - Graph Helpers and Controls](../overview.md).
13
+
> This API has been removed. For the latest guidance on using the Microsoft Graph in the Toolkit check out the [Windows Community Toolkit - Graph Helpers and Controls](../../../graph/overview.md).
14
14
15
15
The [InteractiveProviderBehavior](/dotnet/api/microsoft.toolkit.graph.providers.interactiveproviderbehavior) provides a quick and easy way to connect to the Microsoft Identity platform and Microsoft Graph. It is built on top of the Graph SDK's authentication providers, but allows usage from XAML.
Copy file name to clipboardExpand all lines: docs/archive/graph/providers/MockProviderBehavior.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ dev_langs:
10
10
# MockProviderBehavior XAML Behavior
11
11
12
12
> [!WARNING]
13
-
> This API has been removed. For the latest guidance on using the Microsoft Graph in the Toolkit check out the [Windows Community Toolkit - Graph Helpers and Controls](../overview.md).
13
+
> This API has been removed. For the latest guidance on using the Microsoft Graph in the Toolkit check out the [Windows Community Toolkit - Graph Helpers and Controls](../../../graph/overview.md).
14
14
15
15
<!-- Describe your control -->
16
16
The [MockProviderBehavior](/dotnet/api/microsoft.toolkit.graph.providers.mockproviderbehavior) provides sample data from the Microsoft Graph for demonstration and learning purposes only.
You can find more examples in the [unit tests](https://github.com/windows-toolkit/WindowsCommunityToolkit/tree/rel/7.0.0/UnitTests).
Copy file name to clipboardExpand all lines: docs/graph/authentication/ProviderManager.md
+10-46Lines changed: 10 additions & 46 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,42 +9,13 @@ dev_langs:
9
9
10
10
# ProviderManager
11
11
12
-
The ProviderManager manages access to the globally configured [IProvider](./IProvider.md) instance and any state change events as users sign in and out.
12
+
The ProviderManager manages access to the globally configured [IProvider](./custom.md) instance and any state change events as users sign in and out.
13
13
14
14
> Available in the `CommunityToolkit.Authentication` package.
15
15
16
16
> [!IMPORTANT]
17
17
> Windows Community Toolkit - Graph Controls and Helpers packages are in preview. To get started using WCT preview packages visit the [WCT Preview Packages wiki page](https://aka.ms/wct/wiki/previewpackages).
Copy file name to clipboardExpand all lines: docs/graph/authentication/custom.md
+14-26Lines changed: 14 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,9 +7,13 @@ dev_langs:
7
7
- csharp
8
8
---
9
9
10
-
# IProvider
10
+
# Custom provider
11
11
12
-
The IProvider is the base interface for creating authentication providers that work with the various controls and helpers in the toolkit.
12
+
If you have existing authentication code in your application, you can create a custom provider to enable authentication and access to Microsoft Graph for the toolkit's Graph based controls and helpers. To bring your own authentication provider logic, start by extending `IProvider`.
13
+
14
+
## IProvider
15
+
16
+
`IProvider` is the base interface for creating authentication providers that work with the various controls and helpers in the toolkit. Handle authenticaiton with one of our premade `IProvider` implementations or create your own.
13
17
14
18
> Available in the `CommunityToolkit.Authentication` package.
15
19
@@ -19,47 +23,31 @@ The IProvider is the base interface for creating authentication providers that w
The MsalProvider is an [IProvider](./custom.md) implementation built on the official Microsoft Authentication Library (MSAL). It is NetStandard 2.0 so it works in both UWP and WPF apps.
13
+
14
+
> Available in the `CommunityToolkit.Authentication.Msal` package.
15
+
16
+
> [!IMPORTANT]
17
+
> Windows Community Toolkit - Graph Controls and Helpers packages are in preview. To get started using WCT preview packages visit the [WCT Preview Packages wiki page](https://aka.ms/wct/wiki/previewpackages).
## Prerequisite Configure Client Id in Partner Center
29
+
30
+
> [!IMPORTANT]
31
+
> To obtain a Client Id, first register your app in Azure following the guidance here: [Quickstart: Register an application with the Microsoft identity platform](/azure/active-directory/develop/quickstart-register-app)
32
+
>
33
+
> After finishing the initial registration, you will also need to add an additional redirect URI. Click on "Authentication -> Add a Platform", select "Mobile and desktop applications", and check the "https://login.microsoftonline.com/common/oauth2/nativeclient" checkbox on that page. Then click "Configure".
0 commit comments