C# Class Microsoft.Azure.Commands.Common.Authentication.ProtectedFileTokenCache

An implementation of the Adal token cache that stores the cache items in the DPAPI-protected file.
Inheritance: Microsoft.IdentityModel.Clients.ActiveDirectory.TokenCache
显示文件 Open project: Azure/azure-powershell Class Usage Examples

Public Methods

Method Description
Clear ( ) : void
ProtectedFileTokenCache ( string cacheFile ) : Microsoft.IdentityModel.Clients.ActiveDirectory

Private Methods

Method Description
AfterAccessNotification ( Microsoft.IdentityModel.Clients.ActiveDirectory.TokenCacheNotificationArgs args ) : void
BeforeAccessNotification ( Microsoft.IdentityModel.Clients.ActiveDirectory.TokenCacheNotificationArgs args ) : void
Initialize ( string fileName ) : void
ProtectedFileTokenCache ( ) : Microsoft.IdentityModel.Clients.ActiveDirectory

Method Details

Clear() public method

public Clear ( ) : void
return void

ProtectedFileTokenCache() public method

public ProtectedFileTokenCache ( string cacheFile ) : Microsoft.IdentityModel.Clients.ActiveDirectory
cacheFile string
return Microsoft.IdentityModel.Clients.ActiveDirectory