共用方式為


WebsitesClient.GetAccessToken(IAzureContext) Method

Definition

public Microsoft.Azure.Commands.Common.Authentication.IAccessToken GetAccessToken (Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext context);
member this.GetAccessToken : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContext -> Microsoft.Azure.Commands.Common.Authentication.IAccessToken
Public Function GetAccessToken (context As IAzureContext) As IAccessToken

Parameters

context
IAzureContext

Returns

Applies to