SharedTokenCacheProvider Class

Definition

public class SharedTokenCacheProvider : Microsoft.Azure.Commands.Common.Authentication.PowerShellTokenCacheProvider
type SharedTokenCacheProvider = class
    inherit PowerShellTokenCacheProvider
Public Class SharedTokenCacheProvider
Inherits PowerShellTokenCacheProvider
Inheritance
SharedTokenCacheProvider

Constructors

SharedTokenCacheProvider(Byte[])

Fields

_tokenCacheDataToFlush (Inherited from PowerShellTokenCacheProvider)
PowerShellTokenCacheProviderKey (Inherited from PowerShellTokenCacheProvider)

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.

(Inherited from PowerShellTokenCacheProvider)
CreatePublicClient(String)

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

(Inherited from PowerShellTokenCacheProvider)
FlushTokenData()
GetSubscriptionsFromTenantToken(IAccount, IAzureEnvironment, IAccessToken, Action<String>) (Inherited from PowerShellTokenCacheProvider)
GetTenantTokensForAccount(IAccount, IAzureEnvironment, Action<String>) (Inherited from PowerShellTokenCacheProvider)
GetTokenCachePersistenceOptions()
ListAccounts(String) (Inherited from PowerShellTokenCacheProvider)
ReadTokenData()
RegisterCache(IPublicClientApplication)
SupportCachePersistence(String)

Check if current environment support token cache persistence

TryRemoveAccount(String) (Inherited from PowerShellTokenCacheProvider)
UpdateTokenDataWithoutFlush(Byte[]) (Inherited from PowerShellTokenCacheProvider)

Applies to