SignOutSessionStateManager Class

Definition

Caution

Use 'Microsoft.AspNetCore.Components.Webassembly.Authentication.NavigationManagerExtensions.NavigateToLogout' instead.

Handles CSRF protection for the logout endpoint.

C#
public class SignOutSessionStateManager
C#
[System.Obsolete("Use 'Microsoft.AspNetCore.Components.Webassembly.Authentication.NavigationManagerExtensions.NavigateToLogout' instead.")]
public class SignOutSessionStateManager
Inheritance
SignOutSessionStateManager
Attributes

Constructors

Methods

SetSignOutState()

Sets up some state in session storage to allow for logouts from within the LogoutPath page.

ValidateSignOutState()

Validates the existence of some state previously setup by SetSignOutState() in session storage to allow logouts from within the LogoutPath page.

Applies to

Product Versions (Obsolete)
ASP.NET Core 3.1, 5.0, 6.0 (7.0, 8.0, 9.0)