PowerShellTokenCacheProvider.GetSubscriptionsFromTenantToken Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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