// <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.AuthenticatorAttestationResponse>>? _PublicKeyCredentialAuthenticatorAttestationResponse; /// <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.AuthenticatorAttestationResponse>> PublicKeyCredentialAuthenticatorAttestationResponse #nullable enable annotations { get => _PublicKeyCredentialAuthenticatorAttestationResponse ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>)); } private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>> Create_PublicKeyCredentialAuthenticatorAttestationResponse(global::System.Text.Json.JsonSerializerOptions options) { if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>> jsonTypeInfo)) { var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>> { ObjectCreator = null, ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>(){ 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.AuthenticatorAttestationResponse)args[3] }, PropertyMetadataInitializer = _ => PublicKeyCredentialAuthenticatorAttestationResponsePropInit(options), ConstructorParameterMetadataInitializer = PublicKeyCredentialAuthenticatorAttestationResponseCtorParamInit, ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), SerializeHandler = PublicKeyCredentialAuthenticatorAttestationResponseSerializeHandler, 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.AuthenticatorAttestationResponse>>(options, objectInfo); jsonTypeInfo.NumberHandling = null; } jsonTypeInfo.OriginatingResolver = this; return jsonTypeInfo; } private static global::System.Text.Json.Serialization.Metadata.JsonPropertyInfo[] PublicKeyCredentialAuthenticatorAttestationResponsePropInit(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.AuthenticatorAttestationResponse>), Converter = null, Getter = static obj => ((global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>)obj).Id, Setter = static (obj, value) => __GenericAccessors_PublicKeyCredentialAuthenticatorAttestationResponse<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>.__set_PublicKeyCredentialAuthenticatorAttestationResponse_Id((global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>)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.AuthenticatorAttestationResponse>).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.AuthenticatorAttestationResponse>), Converter = null, Getter = static obj => ((global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>)obj).Type, Setter = static (obj, value) => __GenericAccessors_PublicKeyCredentialAuthenticatorAttestationResponse<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>.__set_PublicKeyCredentialAuthenticatorAttestationResponse_Type((global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>)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.AuthenticatorAttestationResponse>).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.AuthenticatorAttestationResponse>), Converter = null, Getter = static obj => ((global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>)obj).ClientExtensionResults, Setter = static (obj, value) => __GenericAccessors_PublicKeyCredentialAuthenticatorAttestationResponse<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>.__set_PublicKeyCredentialAuthenticatorAttestationResponse_ClientExtensionResults((global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>)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.AuthenticatorAttestationResponse>).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.AuthenticatorAttestationResponse> { IsProperty = true, IsPublic = true, IsVirtual = false, DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>), Converter = null, Getter = static obj => ((global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>)obj).Response, Setter = static (obj, value) => __GenericAccessors_PublicKeyCredentialAuthenticatorAttestationResponse<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>.__set_PublicKeyCredentialAuthenticatorAttestationResponse_Response((global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>)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.AuthenticatorAttestationResponse>).GetProperty("Response", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse), global::System.Array.Empty<global::System.Type>(), null), }; properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>(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.AuthenticatorAttestationResponse>), Converter = null, Getter = static obj => ((global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>)obj).AuthenticatorAttachment, Setter = static (obj, value) => __GenericAccessors_PublicKeyCredentialAuthenticatorAttestationResponse<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>.__set_PublicKeyCredentialAuthenticatorAttestationResponse_AuthenticatorAttachment((global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>)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.AuthenticatorAttestationResponse>).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 PublicKeyCredentialAuthenticatorAttestationResponseSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>? 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.AuthenticatorAttestationResponse>)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.AuthenticatorAttestationResponse>)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.AuthenticatorAttestationResponse>)value).ClientExtensionResults, JsonElement); global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse __value_Response = ((global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>)value).Response; if (__value_Response is not null) { writer.WritePropertyName(PropName_response); AuthenticatorAttestationResponseSerializeHandler(writer, __value_Response); } string __value_AuthenticatorAttachment = ((global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>)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[] PublicKeyCredentialAuthenticatorAttestationResponseCtorParamInit() => 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.AuthenticatorAttestationResponse), Position = 3, IsNullable = false, IsMemberInitializer = true, }, }; private static class __GenericAccessors_PublicKeyCredentialAuthenticatorAttestationResponse<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_PublicKeyCredentialAuthenticatorAttestationResponse_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_PublicKeyCredentialAuthenticatorAttestationResponse_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_PublicKeyCredentialAuthenticatorAttestationResponse_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_PublicKeyCredentialAuthenticatorAttestationResponse_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_PublicKeyCredentialAuthenticatorAttestationResponse_AuthenticatorAttachment(global::Microsoft.AspNetCore.Identity.PublicKeyCredential<TResponse> obj, string value); } } }