你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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