Compartir a través de


AuthenticationStateDeserializationOptions.DeserializationCallback Propiedad

Definición

Implementación predeterminada para convertir el AuthenticationStateData que se deserializó JSON desde el servidor mediante PersistentComponentState a un objeto de AuthenticationState que devolverá el cliente de WebAssembly 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))

Valor de propiedad

Se aplica a