C# Class MsOfficeTracker.Helpers.FileCache

This is a simple persistent cache implementation for a desktop application. It uses DPAPI for storing tokens in a local file. from: https://github.com/Azure-Samples/active-directory-dotnet-native-aspnet5/blob/master/TodoListClient/FileCache.cs
Inheritance: TokenCache
Mostra file Open project: sealuzh/PersonalAnalytics

Public Properties

Property Type Description
CacheFilePath string

Public Methods

Method Description
AfterAccessNotification ( TokenCacheNotificationArgs args ) : void
BeforeAccessNotification ( TokenCacheNotificationArgs args ) : void
Clear ( ) : void
FileCache ( ) : System.IO

Method Details

AfterAccessNotification() public method

public AfterAccessNotification ( TokenCacheNotificationArgs args ) : void
args TokenCacheNotificationArgs
return void

BeforeAccessNotification() public method

public BeforeAccessNotification ( TokenCacheNotificationArgs args ) : void
args TokenCacheNotificationArgs
return void

Clear() public method

public Clear ( ) : void
return void

FileCache() public method

public FileCache ( ) : System.IO
return System.IO

Property Details

CacheFilePath public_oe property

public string CacheFilePath
return string