Class CircuitRevalidationOptions
Configures how an open Blazor circuit checks that the sign-in it started with still exists (see AppPrincipalServerAuthenticationStateProvider).
public sealed class CircuitRevalidationOptions
- Inheritance
-
CircuitRevalidationOptions
- Inherited Members
Fields
DefaultSectionName
The default configuration section: Authentication:CircuitRevalidation.
public const string DefaultSectionName = "Authentication:CircuitRevalidation"
Field Value
MaxInterval
The longest Interval accepted: a longer one would let a signed-out tab act as the user for longer than a session lasts.
public static readonly TimeSpan MaxInterval
Field Value
Properties
CookieScheme
Gets or sets the cookie authentication scheme whose session store holds the sign-ins. The default is AuthenticationScheme, the one Arc4u's OpenID Connect authentication uses.
public string CookieScheme { get; set; }
Property Value
Enabled
Gets or sets a value indicating whether the sign-in of an open circuit is checked. The default is true. Turned off, a circuit keeps its user until it reconnects, even after the user signed out in another tab.
public bool Enabled { get; set; }
Property Value
Interval
Gets or sets how long a circuit may keep acting as a user whose sign-in has ended (sign-out in another tab, expired session) before it notices. Each check is one read of the session store per open circuit. The default is two minutes; it must be more than zero and at most MaxInterval.
public TimeSpan Interval { get; set; }