WebAuthenticationCoreManager.RequestTokenAsync WebAuthenticationCoreManager.RequestTokenAsync WebAuthenticationCoreManager.RequestTokenAsync WebAuthenticationCoreManager.RequestTokenAsync WebAuthenticationCoreManager.RequestTokenAsync Method

Definition

Overloads

RequestTokenAsync(WebTokenRequest) RequestTokenAsync(WebTokenRequest) RequestTokenAsync(WebTokenRequest) RequestTokenAsync(WebTokenRequest) RequestTokenAsync(WebTokenRequest)

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

RequestTokenAsync(WebTokenRequest, WebAccount) RequestTokenAsync(WebTokenRequest, WebAccount) RequestTokenAsync(WebTokenRequest, WebAccount) RequestTokenAsync(WebTokenRequest, WebAccount) RequestTokenAsync(WebTokenRequest, WebAccount)

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

RequestTokenAsync(WebTokenRequest) RequestTokenAsync(WebTokenRequest) RequestTokenAsync(WebTokenRequest) RequestTokenAsync(WebTokenRequest) RequestTokenAsync(WebTokenRequest)

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

public : static IAsyncOperation<WebTokenRequestResult> RequestTokenAsync(WebTokenRequest request)
static IAsyncOperation<WebTokenRequestResult> RequestTokenAsync(WebTokenRequest request) const;
public static IAsyncOperation<WebTokenRequestResult> RequestTokenAsync(WebTokenRequest request)
Public Shared Function RequestTokenAsync(request As WebTokenRequest) As IAsyncOperation(Of WebTokenRequestResult)
Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager.requestTokenAsync(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

This method cannot be called from background threads.

See also

RequestTokenAsync(WebTokenRequest, WebAccount) RequestTokenAsync(WebTokenRequest, WebAccount) RequestTokenAsync(WebTokenRequest, WebAccount) RequestTokenAsync(WebTokenRequest, WebAccount) RequestTokenAsync(WebTokenRequest, WebAccount)

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

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

Parameters

request
WebTokenRequest WebTokenRequest WebTokenRequest

The web token request.

webAccount
WebAccount WebAccount WebAccount

The web account for the request.

Returns

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

Remarks

This method cannot be called from background threads.

See also