AuthenticationStateDeserializationOptions.DeserializationCallback Property

Definition

Default implementation for converting the AuthenticationStateData that was JSON deserialized from the server using PersistentComponentState to an AuthenticationState object to be returned by the WebAssembly client's AuthenticationStateProvider.

C#
public Func<Microsoft.AspNetCore.Components.Authorization.AuthenticationStateData?,System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.Authorization.AuthenticationState>> DeserializationCallback { get; set; }

Property Value

Applies to

Product Versions
ASP.NET Core 9.0