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