Compartilhar via


AzureDeveloperCliCredential.GetToken Método

Definição

Obtém um token de acesso de Azure Developer CLI credencial, usando esse token de acesso para autenticar. Esse método chamado pelos clientes do SDK do Azure.

public override Azure.Core.AccessToken GetToken (Azure.Core.TokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken = default);
override this.GetToken : Azure.Core.TokenRequestContext * System.Threading.CancellationToken -> Azure.Core.AccessToken
Public Overrides Function GetToken (requestContext As TokenRequestContext, Optional cancellationToken As CancellationToken = Nothing) As AccessToken

Parâmetros

requestContext
TokenRequestContext
cancellationToken
CancellationToken

Retornos

AccessToken

Aplica-se a