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