AzureDeveloperCliCredential.GetToken Método

Definición

Obtiene un token de acceso de Azure Developer CLI credencial, con este token de acceso para autenticarse. Este método lo llaman los clientes del SDK de 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

Devoluciones

AccessToken

Se aplica a