Condividi tramite


AuthenticationStateDeserializationOptions.DeserializationCallback Proprietà

Definizione

Implementazione predefinita per la conversione del AuthenticationStateData deserializzato json dal server tramite PersistentComponentState a un oggetto AuthenticationState da restituire dal client 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))

Valore della proprietà

Si applica a