PowerShellTokenCacheProvider Class

Definition

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

Constructors

Name Description
PowerShellTokenCacheProvider()

Fields

Name Description
_tokenCacheDataToFlush
PowerShellTokenCacheProviderKey

Methods

Name Description
ClearCache()
ClearCache(String)
CreateConfidentialClient(String, String, String, String)

Creates a confidential client app with a client secret. Used for Service Principal SSH certificate authentication.

CreateConfidentialClient(String, String, String, X509Certificate2)

Creates a confidential client app with a certificate. Used for Service Principal SSH certificate authentication.

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>, ICmdletContext)
GetTenantTokensForAccount(IAccount, IAzureEnvironment, Action<String>)
GetTokenCachePersistenceOptions()
ListAccounts(String)
ReadTokenData()
RegisterCache(IPublicClientApplication)
TryRemoveAccount(String)
UpdateTokenDataWithoutFlush(Byte[])

Applies to