Aracılığıyla paylaş


SimpleAccessToken Class

Definition

Provides access token information for a bearer token

public class SimpleAccessToken : Microsoft.Azure.Commands.Common.Authentication.IAccessToken
type SimpleAccessToken = class
    interface IAccessToken
    interface IExtensibleModel
type SimpleAccessToken = class
    interface IAccessToken
Public Class SimpleAccessToken
Implements IAccessToken
Inheritance
SimpleAccessToken
Implements

Constructors

SimpleAccessToken(IAzureAccount, String, String)

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

Fields

_defaultTokenType

Properties

AccessToken

The access token to be applied to a request message

ExtendedProperties

Extended properties

HomeAccountId

Home account id

LoginType

The login type for this token

TenantId

The tenant Id for this token.

UserId

The User Id associated with this token.

Methods

AuthorizeRequest(Action<String,String>)

Authorize a request using an authorization setter function.

Extension Methods

CopyPropertiesFrom(IExtensibleModel, IExtensibleModel)
GetProperty(IExtensibleModel, String)
GetPropertyAsArray(IExtensibleModel, String)
IsPropertySet(IExtensibleModel, String)
SetOrAppendProperty(IExtensibleModel, String, String[])
SetProperty(IExtensibleModel, String, String[])
UpdateProperties(IExtensibleModel, IExtensibleModel)
PopulateExtensions(IExtensibleModel, PSObject)

Populate the model extensions from a PSObject

GetDomain(IAccessToken)

Applies to