|
// <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 : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver
{
/// <inheritdoc/>
public override global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? GetTypeInfo(global::System.Type type)
{
Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
return typeInfo;
}
global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(global::System.Type type, global::System.Text.Json.JsonSerializerOptions options)
{
if (type == typeof(bool))
{
return Create_Boolean(options);
}
if (type == typeof(bool?))
{
return Create_NullableBoolean(options);
}
if (type == typeof(global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse))
{
return Create_AuthenticatorAssertionResponse(options);
}
if (type == typeof(global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse))
{
return Create_AuthenticatorAttestationResponse(options);
}
if (type == typeof(global::Microsoft.AspNetCore.Identity.AuthenticatorSelectionCriteria))
{
return Create_AuthenticatorSelectionCriteria(options);
}
if (type == typeof(global::Microsoft.AspNetCore.Identity.BufferSource))
{
return Create_BufferSource(options);
}
if (type == typeof(global::Microsoft.AspNetCore.Identity.CollectedClientData))
{
return Create_CollectedClientData(options);
}
if (type == typeof(global::Microsoft.AspNetCore.Identity.COSEAlgorithmIdentifier))
{
return Create_COSEAlgorithmIdentifier(options);
}
if (type == typeof(global::Microsoft.AspNetCore.Identity.PasskeyAssertionState))
{
return Create_PasskeyAssertionState(options);
}
if (type == typeof(global::Microsoft.AspNetCore.Identity.PasskeyAttestationState))
{
return Create_PasskeyAttestationState(options);
}
if (type == typeof(global::Microsoft.AspNetCore.Identity.PasskeyUserEntity))
{
return Create_PasskeyUserEntity(options);
}
if (type == typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>))
{
return Create_PublicKeyCredentialAuthenticatorAssertionResponse(options);
}
if (type == typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredential<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>))
{
return Create_PublicKeyCredentialAuthenticatorAttestationResponse(options);
}
if (type == typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions))
{
return Create_PublicKeyCredentialCreationOptions(options);
}
if (type == typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor))
{
return Create_PublicKeyCredentialDescriptor(options);
}
if (type == typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialParameters))
{
return Create_PublicKeyCredentialParameters(options);
}
if (type == typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions))
{
return Create_PublicKeyCredentialRequestOptions(options);
}
if (type == typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRpEntity))
{
return Create_PublicKeyCredentialRpEntity(options);
}
if (type == typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialUserEntity))
{
return Create_PublicKeyCredentialUserEntity(options);
}
if (type == typeof(global::Microsoft.AspNetCore.Identity.TokenBinding))
{
return Create_TokenBinding(options);
}
if (type == typeof(global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor>))
{
return Create_IReadOnlyListPublicKeyCredentialDescriptor(options);
}
if (type == typeof(global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialParameters>))
{
return Create_IReadOnlyListPublicKeyCredentialParameters(options);
}
if (type == typeof(global::System.Collections.Generic.IReadOnlyList<string>))
{
return Create_IReadOnlyListString(options);
}
if (type == typeof(global::System.ReadOnlyMemory<byte>))
{
return Create_ReadOnlyMemoryByte(options);
}
if (type == typeof(global::System.Text.Json.JsonElement))
{
return Create_JsonElement(options);
}
if (type == typeof(global::System.Text.Json.JsonElement?))
{
return Create_NullableJsonElement(options);
}
if (type == typeof(string))
{
return Create_String(options);
}
if (type == typeof(string[]))
{
return Create_StringArray(options);
}
if (type == typeof(ulong))
{
return Create_UInt64(options);
}
if (type == typeof(ulong?))
{
return Create_NullableUInt64(options);
}
return null;
}
}
}
|