C# 클래스 Microsoft.Azure.Commands.Profile.Models.SimpleAccessToken

Provides access token information for a bearer token
상속: IAccessToken
파일 보기 프로젝트 열기: Azure/azure-powershell

공개 메소드들

메소드 설명
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

메소드 상세

AuthorizeRequest() 공개 메소드

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

SimpleAccessToken() 공개 메소드

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.
리턴 Microsoft.Azure.Commands.Common.Authentication