AuthenticationStateDeserializationOptions.DeserializationCallback Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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))