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.

public Func<Microsoft.AspNetCore.Components.Authorization.AuthenticationStateData?,System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.Authorization.AuthenticationState>> DeserializationCallback { get; set; }
member this.DeserializationCallback : Func<Microsoft.AspNetCore.Components.Authorization.AuthenticationStateData, System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.Authorization.AuthenticationState>> with get, set
Public Property DeserializationCallback As Func(Of AuthenticationStateData, Task(Of AuthenticationState))

Property Value

Applies to