title | author | description | keywords | dev_langs | |
---|---|---|---|---|---|
ProviderManager |
shweaver-MSFT |
ProviderManager manages access to the globally configured IProvider instance and any state change events as users sign in and out. |
uwp, wpf, netstandard, windows, community, toolkit, graph, login, authentication, provider, providers, identity |
|
The ProviderManager manages access to the globally configured IProvider instance and any state change events as users sign in and out.
Available in the CommunityToolkit.Authentication
package.
Property | Type | Description |
---|---|---|
ClientName | string | (Static) Gets the name of the toolkit client to identify self in Graph calls. |
Instance | ProviderManager | (Static) Get or set the instance of the globally configured IProvider. |
State | ProviderState | Gets the current authentication state of the provider. |
Event | Type | Description |
---|---|---|
ProviderUpdated | EventHandler<IProvider> | Event called when the IProvider changes. |
ProviderStateChanged | EventHandler<ProviderStateChangedEventArgs> | Event called when the IProvider changes. |
Property | Type | Description |
---|---|---|
OldState | ProviderState | Gets the previous state of the IProvider. |
NewState | ProviderState | Gets the new state of the IProvider. |
Name | Description |
---|---|
Loading | The user's status is not known. |
SignedOut | The user is signed-out. |
SignedIn | The user is signed-in. |