3 instantiations of PublicKeyCredentialDescriptor
Microsoft.AspNetCore.Identity (3)
IdentityJsonSerializerContext.PublicKeyCredentialDescriptor.g.cs (1)
32ObjectWithParameterizedConstructorCreator = 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)
78if (type == typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor)) 102if (type == typeof(global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor>))
IdentityJsonSerializerContext.IReadOnlyListPublicKeyCredentialDescriptor.g.cs (12)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor>>? _IReadOnlyListPublicKeyCredentialDescriptor; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor>> IReadOnlyListPublicKeyCredentialDescriptor 22get => _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>)); 25private 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) 27if (!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)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor>> 35jsonTypeInfo = 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); 45private void IReadOnlyListPublicKeyCredentialDescriptorSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor>? value) 55foreach (global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor element in value)
IdentityJsonSerializerContext.PublicKeyCredentialCreationOptions.g.cs (5)
162var info5 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor>> 177AttributeProviderFactory = 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), 180properties[5] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor>>(options, info5); 333global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor> __value_ExcludeCredentials = ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions)value).ExcludeCredentials; 413private 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)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor>? _PublicKeyCredentialDescriptor; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor> PublicKeyCredentialDescriptor 22get => _PublicKeyCredentialDescriptor ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor> Create_PublicKeyCredentialDescriptor(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor> 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 39jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor>(options, objectInfo); 56DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor), 58Getter = static obj => ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor)obj).Type, 59Setter = static (obj, value) => __set_PublicKeyCredentialDescriptor_Type((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor)obj, value!), 66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor).GetProperty("Type", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 79DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor), 81Getter = static obj => ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor)obj).Id, 82Setter = static (obj, value) => __set_PublicKeyCredentialDescriptor_Id((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor)obj, value!), 89AttributeProviderFactory = 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), 102DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor), 104Getter = static obj => ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor)obj).Transports, 105Setter = static (obj, value) => __set_PublicKeyCredentialDescriptor_Transports((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor)obj, value!), 112AttributeProviderFactory = 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), 124private void PublicKeyCredentialDescriptorSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor? value) 134string __value_Type = ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor)value).Type; 139global::Microsoft.AspNetCore.Identity.BufferSource __value_Id = ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor)value).Id; 145global::System.Collections.Generic.IReadOnlyList<string> __value_Transports = ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor)value).Transports; 177private static extern void __set_PublicKeyCredentialDescriptor_Type(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor obj, string value); 179private static extern void __set_PublicKeyCredentialDescriptor_Id(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor obj, global::Microsoft.AspNetCore.Identity.BufferSource value); 181private static extern void __set_PublicKeyCredentialDescriptor_Transports(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor obj, global::System.Collections.Generic.IReadOnlyList<string> value);
IdentityJsonSerializerContext.PublicKeyCredentialRequestOptions.g.cs (5)
114var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor>> 129AttributeProviderFactory = 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), 132properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor>>(options, info3); 230global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor> __value_AllowCredentials = ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions)value).AllowCredentials; 276private 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)
89async Task<PublicKeyCredentialDescriptor[]> GetExcludeCredentialsAsync() 141async Task<PublicKeyCredentialDescriptor[]> GetAllowCredentialsAsync()
Passkeys\PublicKeyCredentialCreationOptions.cs (1)
44public IReadOnlyList<PublicKeyCredentialDescriptor> ExcludeCredentials { get; init; } = [];
Passkeys\PublicKeyCredentialRequestOptions.cs (1)
34public IReadOnlyList<PublicKeyCredentialDescriptor> AllowCredentials { get; init; } = [];