C# Class Microsoft.Azure.Commands.Profile.Models.SimpleAccessToken

Provides access token information for a bearer token
Inheritance: IAccessToken
Afficher le fichier Open project: Azure/azure-powershell

Méthodes publiques

Méthode Description
AuthorizeRequest ( string>.System authTokenSetter ) : void

Authorize a request using an authorization setter function.

SimpleAccessToken ( AzureAccount account, string tenantId, string tokenType = _defaultTokenType ) : Microsoft.Azure.Commands.Common.Authentication

Create a new access token from the given account and tenant id

Method Details

AuthorizeRequest() public méthode

Authorize a request using an authorization setter function.
public AuthorizeRequest ( string>.System authTokenSetter ) : void
authTokenSetter string>.System The authorization token setter function.
Résultat void

SimpleAccessToken() public méthode

Create a new access token from the given account and tenant id
public SimpleAccessToken ( AzureAccount account, string tenantId, string tokenType = _defaultTokenType ) : Microsoft.Azure.Commands.Common.Authentication
account Microsoft.Azure.Commands.Common.Authentication.Models.AzureAccount The account, containing user id, access token information
tenantId string The tenant id for the given access token
tokenType string The token type for the given token.
Résultat Microsoft.Azure.Commands.Common.Authentication