Share via


SignOutSessionStateManager Class

Definition

Caution

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

Handles CSRF protection for the logout endpoint.

public ref class SignOutSessionStateManager
public class SignOutSessionStateManager
[System.Obsolete("Use 'Microsoft.AspNetCore.Components.Webassembly.Authentication.NavigationManagerExtensions.NavigateToLogout' instead.")]
public class SignOutSessionStateManager
type SignOutSessionStateManager = class
[<System.Obsolete("Use 'Microsoft.AspNetCore.Components.Webassembly.Authentication.NavigationManagerExtensions.NavigateToLogout' instead.")>]
type SignOutSessionStateManager = class
Public Class SignOutSessionStateManager
Inheritance
SignOutSessionStateManager
Attributes

Constructors

SignOutSessionStateManager(IJSRuntime)

Initialize a new instance of SignOutSessionStateManager.

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