ProviderManager Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Shared provider manager used by controls in Microsoft.Toolkit.Graph.Controls to authenticate and call the Microsoft Graph.
C#
public class ProviderManager
C#
public class ProviderManager : System.ComponentModel.INotifyPropertyChanged
type ProviderManager = class
type ProviderManager = class
interface INotifyPropertyChanged
Public Class ProviderManager
Public Class ProviderManager
Implements INotifyPropertyChanged
- Inheritance
-
ProviderManager
- Implements
To set your own existing provider:
ProviderManager.Instance.GlobalProvider = await MsalProvider.CreateAsync(...);
Client |
Gets the name of the toolkit client to identify self in Graph calls. |
Global |
Gets or sets the global provider used by all Microsoft.Toolkit.Graph.Controls. |
Instance |
Gets the instance of the GlobalProvider. |
Property |
|
Provider |
Event called when the IProvider changes. |
Product | Versions |
---|---|
Windows Community Toolkit | 6.1.1, 7.0.0 |