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] },
PasskeyHandler.cs (2)
99
.Select(p => new
PublicKeyCredentialDescriptor
150
.Select(p => new
PublicKeyCredentialDescriptor
57 references to PublicKeyCredentialDescriptor
Microsoft.AspNetCore.Identity (57)
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 (5)
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;
413
private static extern void __set_PublicKeyCredentialCreationOptions_ExcludeCredentials(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions obj, global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
> value);
IdentityJsonSerializerContext.PublicKeyCredentialDescriptor.g.cs (29)
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,
59
Setter = static (obj, value) => __set_PublicKeyCredentialDescriptor_Type((global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
)obj, value!),
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,
82
Setter = static (obj, value) => __set_PublicKeyCredentialDescriptor_Id((global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
)obj, value!),
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,
105
Setter = static (obj, value) => __set_PublicKeyCredentialDescriptor_Transports((global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
)obj, value!),
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;
177
private static extern void __set_PublicKeyCredentialDescriptor_Type(global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
obj, string value);
179
private static extern void __set_PublicKeyCredentialDescriptor_Id(global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
obj, global::Microsoft.AspNetCore.Identity.BufferSource value);
181
private static extern void __set_PublicKeyCredentialDescriptor_Transports(global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
obj, global::System.Collections.Generic.IReadOnlyList<string> value);
IdentityJsonSerializerContext.PublicKeyCredentialRequestOptions.g.cs (5)
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;
276
private static extern void __set_PublicKeyCredentialRequestOptions_AllowCredentials(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions obj, global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.
PublicKeyCredentialDescriptor
> value);
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; } = [];