Language

HttpConnectionDispatcherOptions.MaximumAuthenticationExpiration Property

Definition

Gets or sets the maximum amount of time, relative to now, that a refreshed authentication expiration is allowed to advance to, regardless of the expiration reported by the authentication ticket. Set to null to leave the ticket's own expiration (or lack of one) unmodified. When set, the value must be greater than Zero.

public TimeSpan? MaximumAuthenticationExpiration { get; set; }
member this.MaximumAuthenticationExpiration : Nullable<TimeSpan> with get, set
Public Property MaximumAuthenticationExpiration As Nullable(Of TimeSpan)

Property Value

Remarks

This applies whenever EnableAuthenticationRefresh is true, including when the authentication ticket does not itself set an expiration. It does not affect the safety behavior for Windows authentication, whose expiration is never tracked or refreshed by this feature.

Applies to