4 instantiations of PasskeyUserEntity
IdentitySample.PasskeyConformance (1)
Program.cs (1)
57
var userEntity = new
PasskeyUserEntity
IdentitySample.PasskeyUI (1)
Program.cs (1)
53
var userEntity = new
PasskeyUserEntity
Microsoft.AspNetCore.Identity (1)
IdentityJsonSerializerContext.PasskeyUserEntity.g.cs (1)
32
ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.AspNetCore.Identity.
PasskeyUserEntity
(){ Id = (string)args[0], Name = (string)args[1], DisplayName = (string)args[2] },
Microsoft.AspNetCore.Identity.Test (1)
Passkeys\PasskeyHandlerAttestationTest.cs (1)
1027
var userEntity = new
PasskeyUserEntity
()
44 references to PasskeyUserEntity
IdentitySample.PasskeyConformance (2)
Program.cs (2)
57
var
userEntity = new PasskeyUserEntity
112
var
userEntity = attestationResult.UserEntity;
IdentitySample.PasskeyUI (2)
artifacts\obj\IdentitySample.PasskeyUI\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Components_Pages_Home_razor.g.cs (1)
196
var
userEntity = attestationResult.UserEntity;
Program.cs (1)
53
var
userEntity = new PasskeyUserEntity
Microsoft.AspNetCore.Identity (39)
IdentityJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
62
if (type == typeof(global::Microsoft.AspNetCore.Identity.
PasskeyUserEntity
))
IdentityJsonSerializerContext.PasskeyAttestationState.g.cs (6)
32
ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.AspNetCore.Identity.PasskeyAttestationState(){ Challenge = (global::System.ReadOnlyMemory<byte>)args[0], UserEntity = (global::Microsoft.AspNetCore.Identity.
PasskeyUserEntity
)args[1] },
72
var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.AspNetCore.Identity.
PasskeyUserEntity
>
87
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.PasskeyAttestationState).GetProperty("UserEntity", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Identity.
PasskeyUserEntity
), global::System.Array.Empty<global::System.Type>(), null),
90
properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.AspNetCore.Identity.
PasskeyUserEntity
>(options, info1);
112
global::Microsoft.AspNetCore.Identity.
PasskeyUserEntity
__value_UserEntity = ((global::Microsoft.AspNetCore.Identity.PasskeyAttestationState)value).UserEntity;
136
ParameterType = typeof(global::Microsoft.AspNetCore.Identity.
PasskeyUserEntity
),
IdentityJsonSerializerContext.PasskeyUserEntity.g.cs (23)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.
PasskeyUserEntity
>? _PasskeyUserEntity;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.
PasskeyUserEntity
> PasskeyUserEntity
22
get => _PasskeyUserEntity ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.
PasskeyUserEntity
>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Identity.
PasskeyUserEntity
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.
PasskeyUserEntity
> Create_PasskeyUserEntity(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.Identity.
PasskeyUserEntity
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.
PasskeyUserEntity
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.AspNetCore.Identity.
PasskeyUserEntity
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.
PasskeyUserEntity
).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.
PasskeyUserEntity
>(options, objectInfo);
56
DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.
PasskeyUserEntity
),
58
Getter = static obj => ((global::Microsoft.AspNetCore.Identity.
PasskeyUserEntity
)obj).Id,
66
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.
PasskeyUserEntity
).GetProperty("Id", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
79
DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.
PasskeyUserEntity
),
81
Getter = static obj => ((global::Microsoft.AspNetCore.Identity.
PasskeyUserEntity
)obj).Name,
89
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.
PasskeyUserEntity
).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
102
DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.
PasskeyUserEntity
),
104
Getter = static obj => ((global::Microsoft.AspNetCore.Identity.
PasskeyUserEntity
)obj).DisplayName,
112
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.
PasskeyUserEntity
).GetProperty("DisplayName", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
125
private void PasskeyUserEntitySerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.Identity.
PasskeyUserEntity
? value)
135
string __value_Id = ((global::Microsoft.AspNetCore.Identity.
PasskeyUserEntity
)value).Id;
140
string __value_Name = ((global::Microsoft.AspNetCore.Identity.
PasskeyUserEntity
)value).Name;
145
string __value_DisplayName = ((global::Microsoft.AspNetCore.Identity.
PasskeyUserEntity
)value).DisplayName;
IPasskeyHandler.cs (1)
21
Task<PasskeyCreationOptionsResult> MakeCreationOptionsAsync(
PasskeyUserEntity
userEntity, HttpContext httpContext);
PasskeyAttestationContext.cs (1)
29
/// previously returned from <see cref="IPasskeyHandler{TUser}.MakeCreationOptionsAsync(
PasskeyUserEntity
, HttpContext)"/>.
PasskeyAttestationResult.cs (3)
29
public
PasskeyUserEntity
? UserEntity { get; }
36
private PasskeyAttestationResult(UserPasskeyInfo passkey,
PasskeyUserEntity
userEntity)
55
public static PasskeyAttestationResult Success(UserPasskeyInfo passkey,
PasskeyUserEntity
userEntity)
PasskeyHandler.cs (1)
38
public async Task<PasskeyCreationOptionsResult> MakeCreationOptionsAsync(
PasskeyUserEntity
userEntity, HttpContext httpContext)
Passkeys\PasskeyAttestationState.cs (1)
12
public required
PasskeyUserEntity
UserEntity { get; init; }
SignInManager.cs (2)
517
public virtual async Task<string> MakePasskeyCreationOptionsAsync(
PasskeyUserEntity
userEntity)
547
/// should be obtained by calling <see cref="MakePasskeyCreationOptionsAsync(
PasskeyUserEntity
)"/>.
Microsoft.AspNetCore.Identity.Test (1)
Passkeys\PasskeyHandlerAttestationTest.cs (1)
1027
var
userEntity = new PasskeyUserEntity()