3 instantiations of PublicKeyCredentialDescriptor
Microsoft.AspNetCore.Identity (3)
IdentityJsonSerializerContext.PublicKeyCredentialDescriptor.g.cs (1)
32
ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
(){ Type = (string)args[0], Id = (global::Microsoft.AspNetCore.Identity.BufferSource)args[1], Transports = (global::System.Collections.Generic.IReadOnlyList<string>)args[2] },
PasskeyHandler.cs (2)
99
.Select(p => new
PublicKeyCredentialDescriptor
150
.Select(p => new
PublicKeyCredentialDescriptor
53 references to PublicKeyCredentialDescriptor
Microsoft.AspNetCore.Identity (53)
IdentityJsonSerializerContext.GetJsonTypeInfo.g.cs (2)
78
if (type == typeof(global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
))
102
if (type == typeof(global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
>))
IdentityJsonSerializerContext.IReadOnlyListPublicKeyCredentialDescriptor.g.cs (12)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
>>? _IReadOnlyListPublicKeyCredentialDescriptor;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
>> IReadOnlyListPublicKeyCredentialDescriptor
22
get => _IReadOnlyListPublicKeyCredentialDescriptor ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
>));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
>> Create_IReadOnlyListPublicKeyCredentialDescriptor(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
>> jsonTypeInfo))
29
var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
>>
35
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIEnumerableInfo<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
>, global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
>(options, info);
45
private void IReadOnlyListPublicKeyCredentialDescriptorSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
>? value)
55
foreach (global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
element in value)
IdentityJsonSerializerContext.PublicKeyCredentialCreationOptions.g.cs (6)
32
ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions(){ Rp = (global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRpEntity)args[0], User = (global::Microsoft.AspNetCore.Identity.PublicKeyCredentialUserEntity)args[1], Challenge = (global::Microsoft.AspNetCore.Identity.BufferSource)args[2], PubKeyCredParams = (global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialParameters>)args[3], Timeout = (ulong?)args[4], ExcludeCredentials = (global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
>)args[5], AuthenticatorSelection = (global::Microsoft.AspNetCore.Identity.AuthenticatorSelectionCriteria)args[6], Hints = (global::System.Collections.Generic.IReadOnlyList<string>)args[7], Attestation = (string)args[8], AttestationFormats = (global::System.Collections.Generic.IReadOnlyList<string>)args[9], Extensions = (global::System.Text.Json.JsonElement?)args[10] },
162
var info5 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
>>
177
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions).GetProperty("ExcludeCredentials", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
>), global::System.Array.Empty<global::System.Type>(), null),
180
properties[5] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
>>(options, info5);
333
global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
> __value_ExcludeCredentials = ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions)value).ExcludeCredentials;
422
ParameterType = typeof(global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
>),
IdentityJsonSerializerContext.PublicKeyCredentialDescriptor.g.cs (23)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
>? _PublicKeyCredentialDescriptor;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
> PublicKeyCredentialDescriptor
22
get => _PublicKeyCredentialDescriptor ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
> Create_PublicKeyCredentialDescriptor(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
).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.
PublicKeyCredentialDescriptor
>(options, objectInfo);
56
DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
),
58
Getter = static obj => ((global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
)obj).Type,
66
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
).GetProperty("Type", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
79
DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
),
81
Getter = static obj => ((global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
)obj).Id,
89
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
).GetProperty("Id", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Identity.BufferSource), global::System.Array.Empty<global::System.Type>(), null),
102
DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
),
104
Getter = static obj => ((global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
)obj).Transports,
112
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
).GetProperty("Transports", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IReadOnlyList<string>), global::System.Array.Empty<global::System.Type>(), null),
124
private void PublicKeyCredentialDescriptorSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
? value)
134
string __value_Type = ((global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
)value).Type;
139
global::Microsoft.AspNetCore.Identity.BufferSource __value_Id = ((global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
)value).Id;
145
global::System.Collections.Generic.IReadOnlyList<string> __value_Transports = ((global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
)value).Transports;
IdentityJsonSerializerContext.PublicKeyCredentialRequestOptions.g.cs (6)
32
ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions(){ Challenge = (global::Microsoft.AspNetCore.Identity.BufferSource)args[0], Timeout = (ulong?)args[1], RpId = (string)args[2], AllowCredentials = (global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
>)args[3], UserVerification = (string)args[4], Hints = (global::System.Collections.Generic.IReadOnlyList<string>)args[5], Extensions = (global::System.Text.Json.JsonElement?)args[6] },
114
var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
>>
129
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions).GetProperty("AllowCredentials", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
>), global::System.Array.Empty<global::System.Type>(), null),
132
properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
>>(options, info3);
230
global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
> __value_AllowCredentials = ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions)value).AllowCredentials;
289
ParameterType = typeof(global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
>),
PasskeyHandler.cs (2)
89
async Task<
PublicKeyCredentialDescriptor
[]> GetExcludeCredentialsAsync()
141
async Task<
PublicKeyCredentialDescriptor
[]> GetAllowCredentialsAsync()
Passkeys\PublicKeyCredentialCreationOptions.cs (1)
44
public IReadOnlyList<
PublicKeyCredentialDescriptor
> ExcludeCredentials { get; init; } = [];
Passkeys\PublicKeyCredentialRequestOptions.cs (1)
34
public IReadOnlyList<
PublicKeyCredentialDescriptor
> AllowCredentials { get; init; } = [];