WebAuthenticationCoreManagerHelper.RequestTokenWithUIElementHostingAsync Method

Definition

Overloads

RequestTokenWithUIElementHostingAsync(WebTokenRequest, UIElement)

Requests an authentication token using the specified custom UI.

RequestTokenWithUIElementHostingAsync(WebTokenRequest, WebAccount, UIElement)

Requests an authentication token for the specified account using the specified custom UI.

RequestTokenWithUIElementHostingAsync(WebTokenRequest, UIElement)

Requests an authentication token using the specified custom UI.

public:
 static IAsyncOperation<WebTokenRequestResult ^> ^ RequestTokenWithUIElementHostingAsync(WebTokenRequest ^ request, UIElement ^ uiElement);
/// [Windows.Foundation.Metadata.Overload("RequestTokenWithUIElementHostingAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<WebTokenRequestResult> RequestTokenWithUIElementHostingAsync(WebTokenRequest const& request, UIElement const& uiElement);
[Windows.Foundation.Metadata.Overload("RequestTokenWithUIElementHostingAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<WebTokenRequestResult> RequestTokenWithUIElementHostingAsync(WebTokenRequest request, UIElement uiElement);
function requestTokenWithUIElementHostingAsync(request, uiElement)
Public Shared Function RequestTokenWithUIElementHostingAsync (request As WebTokenRequest, uiElement As UIElement) As IAsyncOperation(Of WebTokenRequestResult)

Parameters

request
WebTokenRequest

An object that represents the request to an online identity provider for an authentication token.

uiElement
UIElement

The custom UI that is shown to the user to retrieve information needed for the authentication token (such as a user ID or password).

Returns

An asynchronous operation that, on successful completion, returns a WebTokenRequestResult object that represents the results of the web token request.

Attributes

Applies to

RequestTokenWithUIElementHostingAsync(WebTokenRequest, WebAccount, UIElement)

Requests an authentication token for the specified account using the specified custom UI.

public:
 static IAsyncOperation<WebTokenRequestResult ^> ^ RequestTokenWithUIElementHostingAsync(WebTokenRequest ^ request, WebAccount ^ webAccount, UIElement ^ uiElement);
/// [Windows.Foundation.Metadata.Overload("RequestTokenWithUIElementHostingAndWebAccountAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<WebTokenRequestResult> RequestTokenWithUIElementHostingAsync(WebTokenRequest const& request, WebAccount const& webAccount, UIElement const& uiElement);
[Windows.Foundation.Metadata.Overload("RequestTokenWithUIElementHostingAndWebAccountAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<WebTokenRequestResult> RequestTokenWithUIElementHostingAsync(WebTokenRequest request, WebAccount webAccount, UIElement uiElement);
function requestTokenWithUIElementHostingAsync(request, webAccount, uiElement)
Public Shared Function RequestTokenWithUIElementHostingAsync (request As WebTokenRequest, webAccount As WebAccount, uiElement As UIElement) As IAsyncOperation(Of WebTokenRequestResult)

Parameters

request
WebTokenRequest

An object that represents the request to an online identity provider for an authentication token.

webAccount
WebAccount

An object that identifies the account for which to request the authentication token.

uiElement
UIElement

The custom UI that is shown to the user to retrieve information needed for the authentication token (such as a user ID or password).

Returns

An asynchronous operation that, on successful completion, returns a WebTokenRequestResult object that represents the results of the web token request.

Attributes

Applies to