Compartilhar via


InMemoryTokenCacheProvider Class

Definition

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

Constructors

InMemoryTokenCacheProvider(Byte[])
InMemoryTokenCacheProvider(InMemoryTokenCacheOptions)

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)
TryRemoveAccount(String) (Inherited from PowerShellTokenCacheProvider)
UpdateTokenDataWithoutFlush(Byte[]) (Inherited from PowerShellTokenCacheProvider)

Applies to