SharedTokenCacheProvider Class
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 class SharedTokenCacheProvider : Microsoft.Azure.Commands.Common.Authentication.PowerShellTokenCacheProvider
type SharedTokenCacheProvider = class
inherit PowerShellTokenCacheProvider
Public Class SharedTokenCacheProvider
Inherits PowerShellTokenCacheProvider
- Inheritance
Constructors
SharedTokenCacheProvider(Byte[]) |
Fields
_tokenCacheDataToFlush | (Inherited from PowerShellTokenCacheProvider) |
PowerShellTokenCacheProviderKey | (Inherited from PowerShellTokenCacheProvider) |
Methods
ClearCache() | |
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) |