Skip to content

[Blazor] Update AuthenticationStateProvider to take advantage of Declarative persistent component state #60718

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
javiercn opened this issue Mar 3, 2025 · 0 comments · May be fixed by #61992
Assignees
Labels
area-blazor Includes: Blazor, Razor Components

Comments

@javiercn
Copy link
Member

javiercn commented Mar 3, 2025

Currently this is handled by

private readonly Func<AuthenticationState, ValueTask<AuthenticationStateData?>> _serializeCallback;

// Do not change. This must match all versions of the server-side AuthenticationStateSerializer.PersistenceKey.

We want to use the same approach we follow with antiforgery.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-blazor Includes: Blazor, Razor Components
Projects
None yet
2 participants