Skip to content

Commit

Permalink
Authentication state management at sign out (#33419)
Browse files Browse the repository at this point in the history
  • Loading branch information
guardrex authored Aug 23, 2024
1 parent 3f361db commit 320c048
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions aspnetcore/blazor/security/server/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -858,6 +858,12 @@ Two additional abstractions participate in managing authentication state:

[!INCLUDE[](~/includes/aspnetcore-repo-ref-source-links.md)]

## Authentication state management at sign out

Server-side Blazor persists user authentication state for the lifetime of the circuit, including across browser tabs. To proactively sign off a user across browser tabs when the user signs out on one tab, you must implement a <xref:Microsoft.AspNetCore.Components.Server.RevalidatingServerAuthenticationStateProvider> ([reference source](https://github.com/dotnet/aspnetcore/blob/main/src/Components/Server/src/Circuits/RevalidatingServerAuthenticationStateProvider.cs)) with a short <xref:Microsoft.AspNetCore.Components.Server.RevalidatingServerAuthenticationStateProvider.RevalidationInterval>.

[!INCLUDE[](~/includes/aspnetcore-repo-ref-source-links.md)]

:::moniker range=">= aspnetcore-8.0"

## Temporary redirection URL validity duration
Expand Down

0 comments on commit 320c048

Please sign in to comment.