共用方式為


AccessTokenParameters Constructor

Definition

public AccessTokenParameters (Microsoft.Azure.Commands.Common.Authentication.PowerShellTokenCacheProvider tokenCacheProvider, Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureEnvironment environment, Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureTokenCache tokenCache, string tenantId, string resourceId, Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureAccount account);
new Microsoft.Azure.Commands.Common.Authentication.AccessTokenParameters : Microsoft.Azure.Commands.Common.Authentication.PowerShellTokenCacheProvider * Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureEnvironment * Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureTokenCache * string * string * Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureAccount -> Microsoft.Azure.Commands.Common.Authentication.AccessTokenParameters
Public Sub New (tokenCacheProvider As PowerShellTokenCacheProvider, environment As IAzureEnvironment, tokenCache As IAzureTokenCache, tenantId As String, resourceId As String, account As IAzureAccount)

Parameters

tokenCacheProvider
PowerShellTokenCacheProvider
environment
IAzureEnvironment
tokenCache
IAzureTokenCache
tenantId
String
resourceId
String
account
IAzureAccount

Applies to