Delen via


WebAuthenticationCoreManager Class

Definition

Contains core methods for obtaining tokens from web account providers.

public ref class WebAuthenticationCoreManager abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class WebAuthenticationCoreManager final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class WebAuthenticationCoreManager
Public Class WebAuthenticationCoreManager
Inheritance
Object Platform::Object IInspectable WebAuthenticationCoreManager
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

Version history

Windows version SDK version Value added
1607 14393 CreateWebAccountMonitor
1803 17134 FindAllAccountsAsync(WebAccountProvider)
1803 17134 FindAllAccountsAsync(WebAccountProvider,String)
1803 17134 FindSystemAccountProviderAsync(String)
1803 17134 FindSystemAccountProviderAsync(String,String)
1803 17134 FindSystemAccountProviderAsync(String,String,User)

Methods

AddAccountWithTransferTokenAsync(WebAuthenticationTransferTokenRequest)

A method that adds a user's account to a cloud device using a transfer token.

CreateWebAccountMonitor(IIterable<WebAccount>)

Creates a web account monitor to watch given accounts.

FindAccountAsync(WebAccountProvider, String)

Asynchronously attempts to find a web account provider.

FindAccountProviderAsync(String, String, User)

Asynchronously attempts to find a web account provider.

FindAccountProviderAsync(String, String)

Asynchronously attempts to find a web account provider.

FindAccountProviderAsync(String)

Asynchronously attempts to find a web account provider.

FindAllAccountsAsync(WebAccountProvider, String)

Enumerates all of the accounts that have been added by a user for a particular ID provider.

FindAllAccountsAsync(WebAccountProvider)

Enumerates all of the accounts that have been added by a user for a particular ID provider.

FindSystemAccountProviderAsync(String, String, User)

Asynchronously attempts to find a web account provider for device-wide authentication.

FindSystemAccountProviderAsync(String, String)

Asynchronously attempts to find a web account provider for device-wide authentication.

FindSystemAccountProviderAsync(String)

Asynchronously attempts to find a web account provider for device-wide authentication.

GetTokenSilentlyAsync(WebTokenRequest, WebAccount)

Asynchronously attempts to get a token without showing any UI. The user will never be prompted to enter their credentials.

GetTokenSilentlyAsync(WebTokenRequest)

Asynchronously attempts to get a token without showing any UI. The user will never be prompted to enter their credentials.

RequestTokenAsync(WebTokenRequest, WebAccount)

Asynchronously requests a token from a web account provider. If necessary, the user is prompted to enter their credentials.

RequestTokenAsync(WebTokenRequest)

Asynchronously requests a token from a web account provider. If necessary, the user is prompted to enter their credentials.

Applies to

See also