Table of Contents

Class TokenCacheOptions

Namespace
Arc4u.OAuth2.Options
Assembly
Arc4u.OAuth2.dll

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

string

MaxTime

Gets or sets the time after which a cached token is evicted. The default is 50 minutes.

public TimeSpan MaxTime { get; set; }

Property Value

TimeSpan