다음을 통해 공유


IAuthenticationCallback.GetTokenAsync method

Apps must implement this method to authenticate and return an access token.

Syntax

public:
IAsyncOperation<String^>^ GetTokenAsync(
  AuthenticationParameters^ authenticationParameters
)

Parameters

authenticationParameters

Type: AuthenticationParameters

Information required to authenticate

Return value

Type: IAsyncOperation<String^>^

The asynchronous operation. Upon completion, IAsyncOperation.GetResults returns an access token.

Remarks

This method is modeled after the .NET method AuthenticationContext.AcquireToken.

Requirements

Minimum supported client
None supported
Minimum supported server
None supported
Minimum supported phone
Windows Phone 8.1
Namespace
Microsoft::RightsManagement
Metadata
Microsoft.RightsManagement.winmd

See also

IAuthenticationCallback