1 instantiation of AuthenticationStateData
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
AuthenticationStateSerializationOptions.cs (1)
42data = new AuthenticationStateData();
13 references to AuthenticationStateData
Microsoft.AspNetCore.Components.WebAssembly.Authentication (7)
Options\AuthenticationStateDeserializationOptions.cs (3)
19/// Default implementation for converting the <see cref="AuthenticationStateData"/> that was JSON deserialized from the server 23public Func<AuthenticationStateData?, Task<AuthenticationState>> DeserializationCallback { get; set; } = DeserializeAuthenticationStateAsync; 25private static Task<AuthenticationState> DeserializeAuthenticationStateAsync(AuthenticationStateData? authenticationStateData)
Services\DeserializedAuthenticationStateProvider.cs (3)
26[DynamicDependency(JsonSerialized, typeof(AuthenticationStateData))] 31if (!state.TryTakeFromJson<AuthenticationStateData?>(PersistenceKey, out var authenticationStateData) || authenticationStateData is null)
WebAssemblyAuthenticationServiceCollectionExtensions.cs (1)
23/// using <see cref="AuthenticationStateData"/> and <see cref="PersistentComponentState"/>. There should be a corresponding call to
Microsoft.AspNetCore.Components.WebAssembly.Server (6)
AuthenticationStateSerializationOptions.cs (4)
31/// Default implementation for converting the server's <see cref="AuthenticationState"/> to an <see cref="AuthenticationStateData"/> object 34public Func<AuthenticationState, ValueTask<AuthenticationStateData?>> SerializationCallback { get; set; } 36private ValueTask<AuthenticationStateData?> SerializeAuthenticationStateAsync(AuthenticationState authenticationState) 38AuthenticationStateData? data = null;
AuthenticationStateSerializer.cs (2)
16private readonly Func<AuthenticationState, ValueTask<AuthenticationStateData?>> _serializeCallback; 35var authenticationStateData = await _serializeCallback(await _authenticationStateTask);