2 instantiations of PublicKeyCredential
Microsoft.AspNetCore.Identity (2)
IdentityJsonSerializerContext.PublicKeyCredentialAuthenticatorAssertionResponse.g.cs (1)
32
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], AuthenticatorAttachment = (string)args[4] },
IdentityJsonSerializerContext.PublicKeyCredentialAuthenticatorAttestationResponse.g.cs (1)
32
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], AuthenticatorAttachment = (string)args[4] },
69 references to PublicKeyCredential
Microsoft.AspNetCore.Identity (69)
IdentityJsonSerializerContext.cs (2)
12
[JsonSerializable(typeof(
PublicKeyCredential
<AuthenticatorAssertionResponse>))]
13
[JsonSerializable(typeof(
PublicKeyCredential
<AuthenticatorAttestationResponse>))]
IdentityJsonSerializerContext.GetJsonTypeInfo.g.cs (2)
66
if (type == typeof(global::Microsoft.AspNetCore.Identity.
PublicKeyCredential
<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>))
70
if (type == typeof(global::Microsoft.AspNetCore.Identity.
PublicKeyCredential
<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>))
IdentityJsonSerializerContext.PublicKeyCredentialAuthenticatorAssertionResponse.g.cs (31)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.
PublicKeyCredential
<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>>? _PublicKeyCredentialAuthenticatorAssertionResponse;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.
PublicKeyCredential
<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>> PublicKeyCredentialAuthenticatorAssertionResponse
22
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>));
25
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)
27
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))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.AspNetCore.Identity.
PublicKeyCredential
<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>>
35
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),
39
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.AspNetCore.Identity.
PublicKeyCredential
<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>>(options, objectInfo);
56
DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.
PublicKeyCredential
<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>),
58
Getter = static obj => ((global::Microsoft.AspNetCore.Identity.
PublicKeyCredential
<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>)obj).Id,
66
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),
79
DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.
PublicKeyCredential
<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>),
81
Getter = static obj => ((global::Microsoft.AspNetCore.Identity.
PublicKeyCredential
<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>)obj).Type,
89
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),
102
DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.
PublicKeyCredential
<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>),
104
Getter = static obj => ((global::Microsoft.AspNetCore.Identity.
PublicKeyCredential
<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>)obj).ClientExtensionResults,
112
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),
123
DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.
PublicKeyCredential
<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>),
125
Getter = static obj => ((global::Microsoft.AspNetCore.Identity.
PublicKeyCredential
<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>)obj).Response,
133
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),
146
DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.
PublicKeyCredential
<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>),
148
Getter = static obj => ((global::Microsoft.AspNetCore.Identity.
PublicKeyCredential
<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>)obj).AuthenticatorAttachment,
156
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),
166
private void PublicKeyCredentialAuthenticatorAssertionResponseSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.Identity.
PublicKeyCredential
<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>? value)
176
global::Microsoft.AspNetCore.Identity.BufferSource __value_Id = ((global::Microsoft.AspNetCore.Identity.
PublicKeyCredential
<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>)value).Id;
182
string __value_Type = ((global::Microsoft.AspNetCore.Identity.
PublicKeyCredential
<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>)value).Type;
188
global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.AspNetCore.Identity.
PublicKeyCredential
<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>)value).ClientExtensionResults, JsonElement);
189
global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse __value_Response = ((global::Microsoft.AspNetCore.Identity.
PublicKeyCredential
<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>)value).Response;
195
string __value_AuthenticatorAttachment = ((global::Microsoft.AspNetCore.Identity.
PublicKeyCredential
<global::Microsoft.AspNetCore.Identity.AuthenticatorAssertionResponse>)value).AuthenticatorAttachment;
IdentityJsonSerializerContext.PublicKeyCredentialAuthenticatorAttestationResponse.g.cs (31)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.
PublicKeyCredential
<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>>? _PublicKeyCredentialAuthenticatorAttestationResponse;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.
PublicKeyCredential
<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>> PublicKeyCredentialAuthenticatorAttestationResponse
22
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>));
25
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)
27
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))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.AspNetCore.Identity.
PublicKeyCredential
<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>>
35
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),
39
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.AspNetCore.Identity.
PublicKeyCredential
<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>>(options, objectInfo);
56
DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.
PublicKeyCredential
<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>),
58
Getter = static obj => ((global::Microsoft.AspNetCore.Identity.
PublicKeyCredential
<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>)obj).Id,
66
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),
79
DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.
PublicKeyCredential
<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>),
81
Getter = static obj => ((global::Microsoft.AspNetCore.Identity.
PublicKeyCredential
<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>)obj).Type,
89
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),
102
DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.
PublicKeyCredential
<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>),
104
Getter = static obj => ((global::Microsoft.AspNetCore.Identity.
PublicKeyCredential
<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>)obj).ClientExtensionResults,
112
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),
123
DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.
PublicKeyCredential
<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>),
125
Getter = static obj => ((global::Microsoft.AspNetCore.Identity.
PublicKeyCredential
<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>)obj).Response,
133
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),
146
DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.
PublicKeyCredential
<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>),
148
Getter = static obj => ((global::Microsoft.AspNetCore.Identity.
PublicKeyCredential
<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>)obj).AuthenticatorAttachment,
156
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),
166
private void PublicKeyCredentialAuthenticatorAttestationResponseSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.Identity.
PublicKeyCredential
<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>? value)
176
global::Microsoft.AspNetCore.Identity.BufferSource __value_Id = ((global::Microsoft.AspNetCore.Identity.
PublicKeyCredential
<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>)value).Id;
182
string __value_Type = ((global::Microsoft.AspNetCore.Identity.
PublicKeyCredential
<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>)value).Type;
188
global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.AspNetCore.Identity.
PublicKeyCredential
<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>)value).ClientExtensionResults, JsonElement);
189
global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse __value_Response = ((global::Microsoft.AspNetCore.Identity.
PublicKeyCredential
<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>)value).Response;
195
string __value_AuthenticatorAttachment = ((global::Microsoft.AspNetCore.Identity.
PublicKeyCredential
<global::Microsoft.AspNetCore.Identity.AuthenticatorAttestationResponse>)value).AuthenticatorAttachment;
PasskeyHandler.cs (3)
219
PublicKeyCredential
<AuthenticatorAttestationResponse> credential;
374
PublicKeyCredential
<AuthenticatorAssertionResponse> credential;
554
private static void VerifyCredentialType<TResponse>(
PublicKeyCredential
<TResponse> credential)