TokenHandler.DefaultTokenLifetimeInMinutes Field

Definition

Default lifetime of tokens created. When creating tokens, if 'expires', 'notbefore' or 'issuedat' are null, then a default will be set to: issuedat = DateTime.UtcNow, notbefore = DateTime.UtcNow, expires = DateTime.UtcNow + TimeSpan.FromMinutes(TokenLifetimeInMinutes).

public static readonly int DefaultTokenLifetimeInMinutes;
 staticval mutable DefaultTokenLifetimeInMinutes : int
Public Shared ReadOnly DefaultTokenLifetimeInMinutes As Integer 

Field Value

Remarks

See: SetDefaultTimesOnTokenCreation for configuration.

Applies to