Class TokenCacheOptions
Defines the cache in which the tokens are stored and for how long.
public class TokenCacheOptions
- Inheritance
-
TokenCacheOptions
- Inherited Members
Properties
CacheName
Gets or sets the name of the cache (registered in the ICacheContext) that stores the tokens. When empty or unknown, the default cache is used.
public string CacheName { get; set; }
Property Value
MaxTime
Gets or sets the time after which a cached token is evicted. The default is 50 minutes.
public TimeSpan MaxTime { get; set; }