SystemUI.AuthenticateAsync Method (IUser, WebAuthenticationOptions, Uri, Uri)

Starts an asynchronous authentication operation with a callback URI.

Syntax

public:
static IAsyncOperation<WebAuthenticationResult^ >^ AuthenticateAsync(
         IUser^ requestingUser,
         WebAuthenticationOptions options,
         Uri^ requestUri,
         Uri^ callbackUri
)  

Parameters

requestingUser
Type: IUser 

The requesting user.

options
Type: WebAuthenticationOptions 

The options for the authentication operation.

requestUri
Type: Uri 

  The starting URI of the web service. This URI must be a secure address of https://.

callbackUri
Type: Uri 

  The callback URI that indicates the completion of the web authentication. The broker matches this URI against every URI that it is about to navigate to. The broker never navigates to this URI, instead the broker returns the control back to the application when the user clicks a link or a web server redirection is made.

Return value

Type: IAsyncOperation<WebAuthenticationResult^ > 

Returns an IAsyncOperation<TResult> object that represents the state of the asynchronous operation. Completion of the asynchronous operation is signaled by using a handler that is passed to the IAsyncOperation<TResult>.Completed property. When the asynchronous operation is complete, the result of the operation can be retrieved by using the IAsyncOperation<TResult>.GetResults method.

Requirements

Namespace: Windows.Xbox.UI

Metadata: windows.winmd

See also

Reference

SystemUI Class

SystemUI Members

Windows.Xbox.UI Namespace