Share via


PowerShellTokenCacheProvider Class

Definition

public abstract class PowerShellTokenCacheProvider
type PowerShellTokenCacheProvider = class
Public MustInherit Class PowerShellTokenCacheProvider
Inheritance
PowerShellTokenCacheProvider
Derived

Constructors

PowerShellTokenCacheProvider()

Fields

_tokenCacheDataToFlush
PowerShellTokenCacheProviderKey

Methods

ClearCache()
CreatePublicClient(String, String)

Creates a public client app with tenantId. This method is not meant for authentication purpose. Use APIs from Azure.Identity instead.

CreatePublicClient(String)

Creates a public client app. This method is not meant for authentication purpose. Use APIs from Azure.Identity instead.

FlushTokenData()
GetSubscriptionsFromTenantToken(IAccount, IAzureEnvironment, IAccessToken, Action<String>)
GetTenantTokensForAccount(IAccount, IAzureEnvironment, Action<String>)
GetTokenCachePersistenceOptions()
ListAccounts(String)
ReadTokenData()
RegisterCache(IPublicClientApplication)
TryRemoveAccount(String)
UpdateTokenDataWithoutFlush(Byte[])

Applies to