2 instantiations of PublicKeyCredentialRequestOptions
Microsoft.AspNetCore.Identity (2)
IdentityJsonSerializerContext.PublicKeyCredentialRequestOptions.g.cs (1)
32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions(){ Challenge = (global::Microsoft.AspNetCore.Identity.BufferSource)args[0] },
PasskeyHandler.cs (1)
117var options = new PublicKeyCredentialRequestOptions
57 references to PublicKeyCredentialRequestOptions
Microsoft.AspNetCore.Identity (56)
IdentityJsonSerializerContext.cs (1)
11[JsonSerializable(typeof(PublicKeyCredentialRequestOptions))]
IdentityJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
86if (type == typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions))
IdentityJsonSerializerContext.PublicKeyCredentialRequestOptions.g.cs (53)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions>? _PublicKeyCredentialRequestOptions; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions> PublicKeyCredentialRequestOptions 22get => _PublicKeyCredentialRequestOptions ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions> Create_PublicKeyCredentialRequestOptions(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions> 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions).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.PublicKeyCredentialRequestOptions>(options, objectInfo); 56DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions), 58Getter = static obj => ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions)obj).Challenge, 59Setter = static (obj, value) => __set_PublicKeyCredentialRequestOptions_Challenge((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions)obj, value!), 66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions).GetProperty("Challenge", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Identity.BufferSource), global::System.Array.Empty<global::System.Type>(), null), 79DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions), 81Getter = static obj => ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions)obj).Timeout, 82Setter = static (obj, value) => __set_PublicKeyCredentialRequestOptions_Timeout((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions)obj, value!), 89AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions).GetProperty("Timeout", InstanceMemberBindingFlags, null, typeof(ulong?), global::System.Array.Empty<global::System.Type>(), null), 99DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions), 101Getter = static obj => ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions)obj).RpId, 102Setter = static (obj, value) => __set_PublicKeyCredentialRequestOptions_RpId((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions)obj, value!), 109AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions).GetProperty("RpId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 119DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions), 121Getter = static obj => ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions)obj).AllowCredentials, 122Setter = static (obj, value) => __set_PublicKeyCredentialRequestOptions_AllowCredentials((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions)obj, value!), 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), 141DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions), 143Getter = static obj => ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions)obj).UserVerification, 144Setter = static (obj, value) => __set_PublicKeyCredentialRequestOptions_UserVerification((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions)obj, value!), 151AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions).GetProperty("UserVerification", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 161DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions), 163Getter = static obj => ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions)obj).Hints, 164Setter = static (obj, value) => __set_PublicKeyCredentialRequestOptions_Hints((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions)obj, value!), 171AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions).GetProperty("Hints", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IReadOnlyList<string>), global::System.Array.Empty<global::System.Type>(), null), 183DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions), 185Getter = static obj => ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions)obj).Extensions, 186Setter = static (obj, value) => __set_PublicKeyCredentialRequestOptions_Extensions((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions)obj, value!), 193AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions).GetProperty("Extensions", InstanceMemberBindingFlags, null, typeof(global::System.Text.Json.JsonElement?), global::System.Array.Empty<global::System.Type>(), null), 203private void PublicKeyCredentialRequestOptionsSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions? value) 213global::Microsoft.AspNetCore.Identity.BufferSource __value_Challenge = ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions)value).Challenge; 219ulong? __value_Timeout = ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions)value).Timeout; 225string __value_RpId = ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions)value).RpId; 230global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor> __value_AllowCredentials = ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions)value).AllowCredentials; 236string __value_UserVerification = ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions)value).UserVerification; 241global::System.Collections.Generic.IReadOnlyList<string> __value_Hints = ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions)value).Hints; 247global::System.Text.Json.JsonElement? __value_Extensions = ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions)value).Extensions; 270private static extern void __set_PublicKeyCredentialRequestOptions_Challenge(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions obj, global::Microsoft.AspNetCore.Identity.BufferSource value); 272private static extern void __set_PublicKeyCredentialRequestOptions_Timeout(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions obj, ulong? value); 274private static extern void __set_PublicKeyCredentialRequestOptions_RpId(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions obj, string value); 276private static extern void __set_PublicKeyCredentialRequestOptions_AllowCredentials(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions obj, global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor> value); 278private static extern void __set_PublicKeyCredentialRequestOptions_UserVerification(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions obj, string value); 280private static extern void __set_PublicKeyCredentialRequestOptions_Hints(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions obj, global::System.Collections.Generic.IReadOnlyList<string> value); 282private static extern void __set_PublicKeyCredentialRequestOptions_Extensions(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions obj, global::System.Text.Json.JsonElement? value);
PasskeyHandler.cs (1)
117var options = new PublicKeyCredentialRequestOptions
Microsoft.AspNetCore.Identity.Test (1)
Passkeys\PasskeyHandlerAssertionTest.cs (1)
1056var requestOptions = JsonSerializer.Deserialize(