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