Compartilhar via


AzurePowerShellCredential.GetToken Método

Definição

Obtém um token de acesso de Azure PowerShell, usando o token de acesso para autenticar. Essa ID de método chamada pelos clientes do SDK do Azure.

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

Parâmetros

requestContext
TokenRequestContext
cancellationToken
CancellationToken

Retornos

Aplica-se a