Partilhar via


MixedRealityStsClient.GetTokenAsync(CancellationToken) Método

Definição

Recupere um token do serviço STS para o identificador de conta especificado de forma assíncrona.

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

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Response<T>.

Aplica-se a