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], 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] },
PasskeyHandler.cs (1)
117var options = new PublicKeyCredentialRequestOptions
43 references to PublicKeyCredentialRequestOptions
Microsoft.AspNetCore.Identity (42)
IdentityJsonSerializerContext.cs (1)
11[JsonSerializable(typeof(PublicKeyCredentialRequestOptions))]
IdentityJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
86if (type == typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRequestOptions))
IdentityJsonSerializerContext.PublicKeyCredentialRequestOptions.g.cs (39)
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, 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, 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, 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, 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, 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, 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, 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;
PasskeyHandler.cs (1)
117var options = new PublicKeyCredentialRequestOptions
Microsoft.AspNetCore.Identity.Test (1)
Passkeys\PasskeyHandlerAssertionTest.cs (1)
1056var requestOptions = JsonSerializer.Deserialize(