你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
PowerShellTokenCacheProvider 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 abstract class PowerShellTokenCacheProvider
type PowerShellTokenCacheProvider = class
Public MustInherit Class PowerShellTokenCacheProvider
- Inheritance
-
PowerShellTokenCacheProvider
- Derived
Constructors
PowerShellTokenCacheProvider() |
Fields
_tokenCacheDataToFlush | |
PowerShellTokenCacheProviderKey |
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. |
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>) | |
GetTokenCachePersistenceOptions() | |
ListAccounts(String) | |
ReadTokenData() | |
RegisterCache(IPublicClientApplication) | |
TryRemoveAccount(String) | |
UpdateTokenDataWithoutFlush(Byte[]) |