BearerTokenOptions.BearerTokenExpiration Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.