AuthenticationContext.TokenCache Property


Property to provide ADAL's token cache. Depending on the platform, TokenCache may have a default persistent cache or not. Library will automatically save tokens in default TokenCache whenever you obtain them. Cached tokens will be available only to the application that saved them. If the cache is persistent, the tokens stored in it will outlive the application's execution, and will be available in subsequent runs. To turn OFF token caching, set TokenCache to null.

public Microsoft.IdentityModel.Clients.ActiveDirectory.TokenCache TokenCache { get; }
member this.TokenCache : Microsoft.IdentityModel.Clients.ActiveDirectory.TokenCache
Public ReadOnly Property TokenCache As TokenCache

Property Value


Applies to