Share via


PowerShellTokenCacheProvider.GetSubscriptionsFromTenantToken Method

Definition

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

Parameters

account
IAccount
environment
IAzureEnvironment
token
IAccessToken
promptAction
Action<String>

Returns

Applies to