AuthenticateUserAsync(OnlineIdServiceTicketRequest) | authenticateUserAsync(OnlineIdServiceTicketRequest) method

OnlineIdAuthenticator.AuthenticateUserAsync(OnlineIdServiceTicketRequest) | authenticateUserAsync(OnlineIdServiceTicketRequest) method

Starts the async authentication request with one OnlineIdServiceTicketRequest. If a user is signed into a Windows 8 system with a Microsoft account, this user will be used for the authentication request.

Note  If you are developing for Windows 10 or greater, use the Windows.Security.Authentication.Web.Core APIs instead. For more information, see Web account manager.
 

Syntax


Public Function AuthenticateUserAsync(
  request As OnlineIdServiceTicketRequest 
) As UserAuthenticationOperation

Parameters

request

Type: OnlineIdServiceTicketRequest

A request object that provides the ability for an app to specify the service and policy used to authenticate a Live user to obtain identity properties and tickets.

Return value

Type: UserAuthenticationOperation

An object representing the authentication operation.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Security.Authentication.OnlineId
Windows::Security::Authentication::OnlineId [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Security.Authentication.OnlineId
Windows::Security::Authentication::OnlineId [C++]

Metadata

Windows.winmd

See also

OnlineIdAuthenticator
AuthenticateUserAsync(IIterable(OnlineIdServiceTicketRequest), CredentialPromptType)

 

 

Show:
© 2016 Microsoft