Partager via


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