Dela via


BearerTokenOptions.BearerTokenExpiration Property

Definition

Controls how much time the bearer token will remain valid from the point it is created. The expiration information is stored in the protected token. Because of that, an expired token will be rejected even if it is passed to the server after the client should have purged it.

public TimeSpan BearerTokenExpiration { get; set; }
member this.BearerTokenExpiration : TimeSpan with get, set
Public Property BearerTokenExpiration As TimeSpan

Property Value

Remarks

Defaults to 1 hour.

Applies to