Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
WindowsProvider Constructor
Definition
- Namespace:
- CommunityToolkit.Authentication
- Assembly:
- CommunityToolkit.Authentication.Uwp.dll
- Package:
- CommunityToolkit.Authentication.Uwp v7.1.2
- Source:
- WindowsProvider.cs
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.
Initializes a new instance of the WindowsProvider class.
public WindowsProvider(string[] scopes = default, CommunityToolkit.Authentication.WebAccountProviderConfig? webAccountProviderConfig = default, CommunityToolkit.Authentication.AccountsSettingsPaneConfig? accountsSettingsPaneConfig = default, bool autoSignIn = true, Windows.System.DispatcherQueue dispatcherQueue = default);
new CommunityToolkit.Authentication.WindowsProvider : string[] * Nullable<CommunityToolkit.Authentication.WebAccountProviderConfig> * Nullable<CommunityToolkit.Authentication.AccountsSettingsPaneConfig> * bool * Windows.System.DispatcherQueue -> CommunityToolkit.Authentication.WindowsProvider
Public Sub New (Optional scopes As String() = Nothing, Optional webAccountProviderConfig As Nullable(Of WebAccountProviderConfig) = Nothing, Optional accountsSettingsPaneConfig As Nullable(Of AccountsSettingsPaneConfig) = Nothing, Optional autoSignIn As Boolean = true, Optional dispatcherQueue As DispatcherQueue = Nothing)
Parameters
- scopes
- String[]
List of Scopes to initially request.
- webAccountProviderConfig
- Nullable<WebAccountProviderConfig>
Configuration value for determining the available web account providers.
- accountsSettingsPaneConfig
- Nullable<AccountsSettingsPaneConfig>
Configuration values for the AccountsSettingsPane.
- autoSignIn
- Boolean
Determines whether the provider attempts to silently log in upon construction.
- dispatcherQueue
- Windows.System.DispatcherQueue
The DispatcherQueue that should be used to dispatch UI updates, or null if this is being called from the UI thread.
