你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PowerShellTokenCacheProvider.GetTenantTokensForAccount Method

Definition

public System.Collections.Generic.List<Microsoft.Azure.Commands.Common.Authentication.IAccessToken> GetTenantTokensForAccount (Microsoft.Identity.Client.IAccount account, Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureEnvironment environment, Action<string> promptAction);
member this.GetTenantTokensForAccount : Microsoft.Identity.Client.IAccount * Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureEnvironment * Action<string> -> System.Collections.Generic.List<Microsoft.Azure.Commands.Common.Authentication.IAccessToken>
Public Function GetTenantTokensForAccount (account As IAccount, environment As IAzureEnvironment, promptAction As Action(Of String)) As List(Of IAccessToken)

Parameters

account
IAccount
environment
IAzureEnvironment
promptAction
Action<String>

Returns

Applies to