共用方式為


MsalMemoryTokenCacheOptions Class

Definition

MSAL's in-memory token cache options.

public class MsalMemoryTokenCacheOptions
type MsalMemoryTokenCacheOptions = class
Public Class MsalMemoryTokenCacheOptions
Inheritance
MsalMemoryTokenCacheOptions

Constructors

MsalMemoryTokenCacheOptions()

Initializes a new instance of the MsalMemoryTokenCacheOptions class. By default, the sliding expiration is set for 14 days.

Properties

AbsoluteExpirationRelativeToNow

Gets or sets the value of the duration after which the cache entry will expire unless it's used This is the duration the tokens are kept in memory cache. In production, a higher value, up-to 90 days is recommended.

Applies to