// <auto-generated/> #nullable enable annotations #nullable disable warnings // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 namespace Microsoft.AspNetCore.Identity { internal partial class IdentityJsonSerializerContext { private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>>? _PublicKeyCredentialAuthenticatorAssertionResponse; /// <summary> /// Defines the source generated JSON serialization contract metadata for a given type. /// </summary> #nullable disable annotations // Marking the property type as nullable-oblivious. public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>> PublicKeyCredentialAuthenticatorAssertionResponse #nullable enable annotations { get => _PublicKeyCredentialAuthenticatorAssertionResponse ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>)); } private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>> Create_PublicKeyCredentialAuthenticatorAssertionResponse(global::System.Text.Json.JsonSerializerOptions options) { if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>> jsonTypeInfo)) { var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>> { ObjectCreator = null, ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>(){ Id = (global::Microsoft.AspNetCore.Identity.BufferSource)args[0], Type = (string)args[1], ClientExtensionResults = (global::System.Text.Json.JsonElement)args[2], Response = (global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse)args[3] }, PropertyMetadataInitializer = _ => PublicKeyCredentialAuthenticatorAssertionResponsePropInit(options), ConstructorParameterMetadataInitializer = PublicKeyCredentialAuthenticatorAssertionResponseCtorParamInit, ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), SerializeHandler = PublicKeyCredentialAuthenticatorAssertionResponseSerializeHandler, PolymorphismOptions = new global::System.Text.Json.Serialization.Metadata.JsonPolymorphismOptions(), TypeClassifierFactory = null, }; jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>>(options, objectInfo); jsonTypeInfo.NumberHandling = null; } jsonTypeInfo.OriginatingResolver = this; return jsonTypeInfo; } private static global::System.Text.Json.Serialization.Metadata.JsonPropertyInfo[] PublicKeyCredentialAuthenticatorAssertionResponsePropInit(global::System.Text.Json.JsonSerializerOptions options) { var properties = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfo[5]; var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.AspNetCore.Identity.BufferSource> { IsProperty = true, IsPublic = true, IsVirtual = false, DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>), Converter = null, Getter = static obj => ((global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>)obj).Id, Setter = static (obj, value) => __GenericAccessors_PublicKeyCredentialAuthenticatorAssertionResponse<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>.__set_PublicKeyCredentialAuthenticatorAssertionResponse_Id((global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>)obj, value!), IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, NumberHandling = null, PropertyName = "Id", JsonPropertyName = null, AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>).GetProperty("Id", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Identity.BufferSource), global::System.Array.Empty<global::System.Type>(), null), }; properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.AspNetCore.Identity.BufferSource>(options, info0); properties[0].IsRequired = true; properties[0].IsGetNullable = false; properties[0].IsSetNullable = false; var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<string> { IsProperty = true, IsPublic = true, IsVirtual = false, DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>), Converter = null, Getter = static obj => ((global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>)obj).Type, Setter = static (obj, value) => __GenericAccessors_PublicKeyCredentialAuthenticatorAssertionResponse<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>.__set_PublicKeyCredentialAuthenticatorAssertionResponse_Type((global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>)obj, value!), IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, NumberHandling = null, PropertyName = "Type", JsonPropertyName = null, AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>).GetProperty("Type", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), }; properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<string>(options, info1); properties[1].IsRequired = true; properties[1].IsGetNullable = false; properties[1].IsSetNullable = false; var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Text.Json.JsonElement> { IsProperty = true, IsPublic = true, IsVirtual = false, DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>), Converter = null, Getter = static obj => ((global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>)obj).ClientExtensionResults, Setter = static (obj, value) => __GenericAccessors_PublicKeyCredentialAuthenticatorAssertionResponse<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>.__set_PublicKeyCredentialAuthenticatorAssertionResponse_ClientExtensionResults((global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>)obj, value!), IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, NumberHandling = null, PropertyName = "ClientExtensionResults", JsonPropertyName = null, AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>).GetProperty("ClientExtensionResults", InstanceMemberBindingFlags, null, typeof(global::System.Text.Json.JsonElement), global::System.Array.Empty<global::System.Type>(), null), }; properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Text.Json.JsonElement>(options, info2); properties[2].IsRequired = true; var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse> { IsProperty = true, IsPublic = true, IsVirtual = false, DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>), Converter = null, Getter = static obj => ((global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>)obj).Response, Setter = static (obj, value) => __GenericAccessors_PublicKeyCredentialAuthenticatorAssertionResponse<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>.__set_PublicKeyCredentialAuthenticatorAssertionResponse_Response((global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>)obj, value!), IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, NumberHandling = null, PropertyName = "Response", JsonPropertyName = null, AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>).GetProperty("Response", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse), global::System.Array.Empty<global::System.Type>(), null), }; properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>(options, info3); properties[3].IsRequired = true; properties[3].IsGetNullable = false; properties[3].IsSetNullable = false; var info4 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<string> { IsProperty = true, IsPublic = true, IsVirtual = false, DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>), Converter = null, Getter = static obj => ((global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>)obj).AuthenticatorAttachment, Setter = static (obj, value) => __GenericAccessors_PublicKeyCredentialAuthenticatorAssertionResponse<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>.__set_PublicKeyCredentialAuthenticatorAssertionResponse_AuthenticatorAttachment((global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>)obj, value!), IgnoreCondition = null, HasJsonInclude = false, IsExtensionData = false, NumberHandling = null, PropertyName = "AuthenticatorAttachment", JsonPropertyName = null, AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>).GetProperty("AuthenticatorAttachment", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), }; properties[4] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<string>(options, info4); return properties; } // Intentionally not a static method because we create a delegate to it. Invoking delegates to instance // methods is almost as fast as virtual calls. Static methods need to go through a shuffle thunk. private void PublicKeyCredentialAuthenticatorAssertionResponseSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>? value) { if (value is null) { writer.WriteNullValue(); return; } writer.WriteStartObject(); global::Microsoft.AspNetCore.Identity.BufferSource __value_Id = ((global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>)value).Id; if (__value_Id is not null) { writer.WritePropertyName(PropName_id); global::System.Text.Json.JsonSerializer.Serialize(writer, __value_Id, BufferSource); } string __value_Type = ((global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>)value).Type; if (__value_Type is not null) { writer.WriteString(PropName_type, __value_Type); } writer.WritePropertyName(PropName_clientExtensionResults); global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>)value).ClientExtensionResults, JsonElement); global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse __value_Response = ((global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>)value).Response; if (__value_Response is not null) { writer.WritePropertyName(PropName_response); AuthenticatorAssertionResponseSerializeHandler(writer, __value_Response); } string __value_AuthenticatorAttachment = ((global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>)value).AuthenticatorAttachment; if (__value_AuthenticatorAttachment is not null) { writer.WriteString(PropName_authenticatorAttachment, __value_AuthenticatorAttachment); } writer.WriteEndObject(); } private static global::System.Text.Json.Serialization.Metadata.JsonParameterInfoValues[] PublicKeyCredentialAuthenticatorAssertionResponseCtorParamInit() => new global::System.Text.Json.Serialization.Metadata.JsonParameterInfoValues[] { new() { Name = "Id", ParameterType = typeof(global::Microsoft.AspNetCore.Identity.BufferSource), Position = 0, IsNullable = false, IsMemberInitializer = true, }, new() { Name = "Type", ParameterType = typeof(string), Position = 1, IsNullable = false, IsMemberInitializer = true, }, new() { Name = "ClientExtensionResults", ParameterType = typeof(global::System.Text.Json.JsonElement), Position = 2, IsNullable = false, IsMemberInitializer = true, }, new() { Name = "Response", ParameterType = typeof(global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse), Position = 3, IsNullable = false, IsMemberInitializer = true, }, }; private static class __GenericAccessors_PublicKeyCredentialAuthenticatorAssertionResponse<TResponse> where TResponse : notnull, global::Microsoft.AspNetCore.Identity.AuthenticatorResponse { [global::System.Runtime.CompilerServices.UnsafeAccessorAttribute(global::System.Runtime.CompilerServices.UnsafeAccessorKind.Method, Name = "set_Id")] public static extern void __set_PublicKeyCredentialAuthenticatorAssertionResponse_Id(global::Microsoft.AspNetCore.Identity.PublicKeyCredential<TResponse> obj, global::Microsoft.AspNetCore.Identity.BufferSource value); [global::System.Runtime.CompilerServices.UnsafeAccessorAttribute(global::System.Runtime.CompilerServices.UnsafeAccessorKind.Method, Name = "set_Type")] public static extern void __set_PublicKeyCredentialAuthenticatorAssertionResponse_Type(global::Microsoft.AspNetCore.Identity.PublicKeyCredential<TResponse> obj, string value); [global::System.Runtime.CompilerServices.UnsafeAccessorAttribute(global::System.Runtime.CompilerServices.UnsafeAccessorKind.Method, Name = "set_ClientExtensionResults")] public static extern void __set_PublicKeyCredentialAuthenticatorAssertionResponse_ClientExtensionResults(global::Microsoft.AspNetCore.Identity.PublicKeyCredential<TResponse> obj, global::System.Text.Json.JsonElement value); [global::System.Runtime.CompilerServices.UnsafeAccessorAttribute(global::System.Runtime.CompilerServices.UnsafeAccessorKind.Method, Name = "set_Response")] public static extern void __set_PublicKeyCredentialAuthenticatorAssertionResponse_Response(global::Microsoft.AspNetCore.Identity.PublicKeyCredential<TResponse> obj, TResponse value); [global::System.Runtime.CompilerServices.UnsafeAccessorAttribute(global::System.Runtime.CompilerServices.UnsafeAccessorKind.Method, Name = "set_AuthenticatorAttachment")] public static extern void __set_PublicKeyCredentialAuthenticatorAssertionResponse_AuthenticatorAttachment(global::Microsoft.AspNetCore.Identity.PublicKeyCredential<TResponse> obj, string value); } } }