1 instantiation of LoginRequest
Microsoft.AspNetCore.Identity (1)
IdentityEndpointsJsonSerializerContext.LoginRequest.g.cs (1)
32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.AspNetCore.Identity.Data.LoginRequest(){ Email = (string)args[0], Password = (string)args[1], TwoFactorCode = (string)args[2], TwoFactorRecoveryCode = (string)args[3] },
41 references to LoginRequest
Microsoft.AspNetCore.Identity (41)
Data\IdentityEndpointsJsonSerializerContext.cs (1)
9[JsonSerializable(typeof(LoginRequest))]
GeneratedRouteBuilderExtensions.g.cs (11)
192options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(type: typeof(global::Microsoft.AspNetCore.Identity.Data.LoginRequest), isOptional: false, contentTypes: GeneratedMetadataConstants.JsonContentType)); 207var handler = Cast(del, global::System.Threading.Tasks.Task<global::Microsoft.AspNetCore.Http.HttpResults.Results<global::Microsoft.AspNetCore.Http.HttpResults.Ok<global::Microsoft.AspNetCore.Authentication.BearerToken.AccessTokenResponse>, global::Microsoft.AspNetCore.Http.HttpResults.EmptyHttpResult, global::Microsoft.AspNetCore.Http.HttpResults.ProblemHttpResult>> (global::Microsoft.AspNetCore.Identity.Data.LoginRequest arg0, global::System.Boolean? arg1, global::System.Boolean? arg2, global::System.IServiceProvider arg3) => throw null!); 215var login_JsonTypeInfo = (JsonTypeInfo<global::Microsoft.AspNetCore.Identity.Data.LoginRequest>)jsonSerializerOptions.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Identity.Data.LoginRequest)); 225var task = handler(ic.GetArgument<global::Microsoft.AspNetCore.Identity.Data.LoginRequest>(0)!, ic.GetArgument<global::System.Boolean?>(1)!, ic.GetArgument<global::System.Boolean?>(2)!, ic.GetArgument<global::System.IServiceProvider>(3)!); 237var login_resolveBodyResult = await GeneratedRouteBuilderExtensionsCore.TryResolveBodyAsync<global::Microsoft.AspNetCore.Identity.Data.LoginRequest>(httpContext, logOrThrowExceptionHelper, false, "LoginRequest", "login", login_JsonTypeInfo); 238var login_local = login_resolveBodyResult.Item2; 298var login_resolveBodyResult = await GeneratedRouteBuilderExtensionsCore.TryResolveBodyAsync<global::Microsoft.AspNetCore.Identity.Data.LoginRequest>(httpContext, logOrThrowExceptionHelper, false, "LoginRequest", "login", login_JsonTypeInfo); 299var login_local = login_resolveBodyResult.Item2; 345var result = await filteredInvocation(EndpointFilterInvocationContext.Create<global::Microsoft.AspNetCore.Identity.Data.LoginRequest, global::System.Boolean?, global::System.Boolean?, global::System.IServiceProvider>(httpContext, login_local!, useCookies_local, useSessionCookies_local, sp_local)); 356var castHandler = Cast(handler, global::System.Threading.Tasks.Task<global::Microsoft.AspNetCore.Http.HttpResults.Results<global::Microsoft.AspNetCore.Http.HttpResults.Ok<global::Microsoft.AspNetCore.Authentication.BearerToken.AccessTokenResponse>, global::Microsoft.AspNetCore.Http.HttpResults.EmptyHttpResult, global::Microsoft.AspNetCore.Http.HttpResults.ProblemHttpResult>> (global::Microsoft.AspNetCore.Identity.Data.LoginRequest arg0, global::System.Boolean? arg1, global::System.Boolean? arg2, global::System.IServiceProvider arg3) => throw null!);
IdentityApiEndpointRouteBuilderExtensions.cs (1)
91([FromBody] LoginRequest login, [FromQuery] bool? useCookies, [FromQuery] bool? useSessionCookies, [FromServices] IServiceProvider sp) =>
IdentityEndpointsJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
42if (type == typeof(global::Microsoft.AspNetCore.Identity.Data.LoginRequest))
IdentityEndpointsJsonSerializerContext.LoginRequest.g.cs (27)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.Data.LoginRequest>? _LoginRequest; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.Data.LoginRequest> LoginRequest 22get => _LoginRequest ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.Data.LoginRequest>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Identity.Data.LoginRequest)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.Data.LoginRequest> Create_LoginRequest(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.Identity.Data.LoginRequest>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.Data.LoginRequest> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.AspNetCore.Identity.Data.LoginRequest> 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.LoginRequest).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.Data.LoginRequest>(options, objectInfo); 56DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.Data.LoginRequest), 58Getter = static obj => ((global::Microsoft.AspNetCore.Identity.Data.LoginRequest)obj).Email, 66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.LoginRequest).GetProperty("Email", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 79DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.Data.LoginRequest), 81Getter = static obj => ((global::Microsoft.AspNetCore.Identity.Data.LoginRequest)obj).Password, 89AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.LoginRequest).GetProperty("Password", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 102DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.Data.LoginRequest), 104Getter = static obj => ((global::Microsoft.AspNetCore.Identity.Data.LoginRequest)obj).TwoFactorCode, 112AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.LoginRequest).GetProperty("TwoFactorCode", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 122DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.Data.LoginRequest), 124Getter = static obj => ((global::Microsoft.AspNetCore.Identity.Data.LoginRequest)obj).TwoFactorRecoveryCode, 132AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.LoginRequest).GetProperty("TwoFactorRecoveryCode", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 142private void LoginRequestSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.Identity.Data.LoginRequest? value) 152writer.WriteString(PropName_Email, ((global::Microsoft.AspNetCore.Identity.Data.LoginRequest)value).Email); 153writer.WriteString(PropName_Password, ((global::Microsoft.AspNetCore.Identity.Data.LoginRequest)value).Password); 154writer.WriteString(PropName_TwoFactorCode, ((global::Microsoft.AspNetCore.Identity.Data.LoginRequest)value).TwoFactorCode); 155writer.WriteString(PropName_TwoFactorRecoveryCode, ((global::Microsoft.AspNetCore.Identity.Data.LoginRequest)value).TwoFactorRecoveryCode);