2 instantiations of PublicKeyCredentialCreationOptions
Microsoft.AspNetCore.Identity (2)
IdentityJsonSerializerContext.PublicKeyCredentialCreationOptions.g.cs (1)
32ObjectWithParameterizedConstructorCreator = 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] },
PasskeyHandler.cs (1)
49var options = new PublicKeyCredentialCreationOptions
59 references to PublicKeyCredentialCreationOptions
Microsoft.AspNetCore.Identity (58)
IdentityJsonSerializerContext.cs (1)
10[JsonSerializable(typeof(PublicKeyCredentialCreationOptions))]
IdentityJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
74if (type == typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions))
IdentityJsonSerializerContext.PublicKeyCredentialCreationOptions.g.cs (55)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions>? _PublicKeyCredentialCreationOptions; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions> PublicKeyCredentialCreationOptions 22get => _PublicKeyCredentialCreationOptions ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions> Create_PublicKeyCredentialCreationOptions(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions> 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions).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.PublicKeyCredentialCreationOptions>(options, objectInfo); 56DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions), 58Getter = static obj => ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions)obj).Rp, 66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions).GetProperty("Rp", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRpEntity), global::System.Array.Empty<global::System.Type>(), null), 79DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions), 81Getter = static obj => ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions)obj).User, 89AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions).GetProperty("User", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialUserEntity), global::System.Array.Empty<global::System.Type>(), null), 102DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions), 104Getter = static obj => ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions)obj).Challenge, 112AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions).GetProperty("Challenge", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Identity.BufferSource), global::System.Array.Empty<global::System.Type>(), null), 125DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions), 127Getter = static obj => ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions)obj).PubKeyCredParams, 135AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions).GetProperty("PubKeyCredParams", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialParameters>), global::System.Array.Empty<global::System.Type>(), null), 147DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions), 149Getter = static obj => ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions)obj).Timeout, 157AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions).GetProperty("Timeout", InstanceMemberBindingFlags, null, typeof(ulong?), global::System.Array.Empty<global::System.Type>(), null), 167DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions), 169Getter = static obj => ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions)obj).ExcludeCredentials, 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), 189DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions), 191Getter = static obj => ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions)obj).AuthenticatorSelection, 199AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions).GetProperty("AuthenticatorSelection", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Identity.AuthenticatorSelectionCriteria), global::System.Array.Empty<global::System.Type>(), null), 209DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions), 211Getter = static obj => ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions)obj).Hints, 219AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions).GetProperty("Hints", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IReadOnlyList<string>), global::System.Array.Empty<global::System.Type>(), null), 231DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions), 233Getter = static obj => ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions)obj).Attestation, 241AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions).GetProperty("Attestation", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 251DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions), 253Getter = static obj => ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions)obj).AttestationFormats, 261AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions).GetProperty("AttestationFormats", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IReadOnlyList<string>), global::System.Array.Empty<global::System.Type>(), null), 273DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions), 275Getter = static obj => ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions)obj).Extensions, 283AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions).GetProperty("Extensions", InstanceMemberBindingFlags, null, typeof(global::System.Text.Json.JsonElement?), global::System.Array.Empty<global::System.Type>(), null), 293private void PublicKeyCredentialCreationOptionsSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions? value) 303global::Microsoft.AspNetCore.Identity.PublicKeyCredentialRpEntity __value_Rp = ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions)value).Rp; 309global::Microsoft.AspNetCore.Identity.PublicKeyCredentialUserEntity __value_User = ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions)value).User; 315global::Microsoft.AspNetCore.Identity.BufferSource __value_Challenge = ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions)value).Challenge; 321global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialParameters> __value_PubKeyCredParams = ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions)value).PubKeyCredParams; 327ulong? __value_Timeout = ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions)value).Timeout; 333global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.Identity.PublicKeyCredentialDescriptor> __value_ExcludeCredentials = ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions)value).ExcludeCredentials; 339global::Microsoft.AspNetCore.Identity.AuthenticatorSelectionCriteria __value_AuthenticatorSelection = ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions)value).AuthenticatorSelection; 345global::System.Collections.Generic.IReadOnlyList<string> __value_Hints = ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions)value).Hints; 351string __value_Attestation = ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions)value).Attestation; 356global::System.Collections.Generic.IReadOnlyList<string> __value_AttestationFormats = ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions)value).AttestationFormats; 362global::System.Text.Json.JsonElement? __value_Extensions = ((global::Microsoft.AspNetCore.Identity.PublicKeyCredentialCreationOptions)value).Extensions;
PasskeyHandler.cs (1)
49var options = new PublicKeyCredentialCreationOptions
Microsoft.AspNetCore.Identity.Test (1)
Passkeys\PasskeyHandlerAttestationTest.cs (1)
1035var creationOptions = JsonSerializer.Deserialize(