Udostępnij za pośrednictwem


MixedRealityStsClient.GetToken(CancellationToken) Method

Definition

Retrieve a token from the STS service for the specified account identifier.

public virtual Azure.Response<Azure.Core.AccessToken> GetToken (System.Threading.CancellationToken cancellationToken = default);
abstract member GetToken : System.Threading.CancellationToken -> Azure.Response<Azure.Core.AccessToken>
override this.GetToken : System.Threading.CancellationToken -> Azure.Response<Azure.Core.AccessToken>
Public Overridable Function GetToken (Optional cancellationToken As CancellationToken = Nothing) As Response(Of AccessToken)

Parameters

cancellationToken
CancellationToken

The cancellation token.

Returns

Response<T>.

Applies to