WebAuthenticationCoreManager.GetTokenSilentlyAsync WebAuthenticationCoreManager.GetTokenSilentlyAsync WebAuthenticationCoreManager.GetTokenSilentlyAsync WebAuthenticationCoreManager.GetTokenSilentlyAsync WebAuthenticationCoreManager.GetTokenSilentlyAsync Method

Definition

Overloads

GetTokenSilentlyAsync(WebTokenRequest) GetTokenSilentlyAsync(WebTokenRequest) GetTokenSilentlyAsync(WebTokenRequest) GetTokenSilentlyAsync(WebTokenRequest) GetTokenSilentlyAsync(WebTokenRequest)

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

GetTokenSilentlyAsync(WebTokenRequest, WebAccount) GetTokenSilentlyAsync(WebTokenRequest, WebAccount) GetTokenSilentlyAsync(WebTokenRequest, WebAccount) GetTokenSilentlyAsync(WebTokenRequest, WebAccount) 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) GetTokenSilentlyAsync(WebTokenRequest) GetTokenSilentlyAsync(WebTokenRequest) GetTokenSilentlyAsync(WebTokenRequest) GetTokenSilentlyAsync(WebTokenRequest)

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

public : static IAsyncOperation<WebTokenRequestResult> GetTokenSilentlyAsync(WebTokenRequest request)
static IAsyncOperation<WebTokenRequestResult> GetTokenSilentlyAsync(WebTokenRequest request) const;
public static IAsyncOperation<WebTokenRequestResult> GetTokenSilentlyAsync(WebTokenRequest request)
Public Shared Function GetTokenSilentlyAsync(request As WebTokenRequest) As IAsyncOperation(Of WebTokenRequestResult)
Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager.getTokenSilentlyAsync(request).done( /* Your success and error handlers */ );

Parameters

request
WebTokenRequest WebTokenRequest WebTokenRequest

The web token request.

Returns

An asynchronous request operation. On successful completion, contains a WebTokenRequestResult object representing the result of the web token request.

Remarks

Unlike RequestTokenAsync, you may call this method from background threads.

See also

GetTokenSilentlyAsync(WebTokenRequest, WebAccount) GetTokenSilentlyAsync(WebTokenRequest, WebAccount) GetTokenSilentlyAsync(WebTokenRequest, WebAccount) GetTokenSilentlyAsync(WebTokenRequest, WebAccount) GetTokenSilentlyAsync(WebTokenRequest, WebAccount)

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

public : static IAsyncOperation<WebTokenRequestResult> GetTokenSilentlyAsync(WebTokenRequest request, WebAccount webAccount)
static IAsyncOperation<WebTokenRequestResult> GetTokenSilentlyAsync(WebTokenRequest request, WebAccount webAccount) const;
public static IAsyncOperation<WebTokenRequestResult> GetTokenSilentlyAsync(WebTokenRequest request, WebAccount webAccount)
Public Shared Function GetTokenSilentlyAsync(request As WebTokenRequest, webAccount As WebAccount) As IAsyncOperation(Of WebTokenRequestResult)
Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager.getTokenSilentlyAsync(request, webAccount).done( /* Your success and error handlers */ );

Parameters

request
WebTokenRequest WebTokenRequest WebTokenRequest

The web token request.

webAccount
WebAccount WebAccount WebAccount

The web account.

Returns

An asynchronous request operation. On successful completion, contains a WebTokenRequestResult object representing the result of the web token request.

See also