1 instantiation of LoginRequest
Microsoft.AspNetCore.Identity (1)
_generated\7\IdentityEndpointsJsonSerializerContext.LoginRequest.g.cs (1)
32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.AspNetCore.Identity.Data.LoginRequest(){ Email = (string)args[0], Password = (string)args[1] },
49 references to LoginRequest
Microsoft.AspNetCore.Identity (49)
_generated\0\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!);
_generated\18\IdentityEndpointsJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
42if (type == typeof(global::Microsoft.AspNetCore.Identity.Data.LoginRequest))
_generated\7\IdentityEndpointsJsonSerializerContext.LoginRequest.g.cs (35)
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), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.AspNetCore.Identity.Data.LoginRequest>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.Data.LoginRequest), 60Getter = static obj => ((global::Microsoft.AspNetCore.Identity.Data.LoginRequest)obj).Email, 61Setter = static (obj, value) => __set_LoginRequest_Email((global::Microsoft.AspNetCore.Identity.Data.LoginRequest)obj, value!), 68AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.LoginRequest).GetProperty("Email", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 81DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.Data.LoginRequest), 83Getter = static obj => ((global::Microsoft.AspNetCore.Identity.Data.LoginRequest)obj).Password, 84Setter = static (obj, value) => __set_LoginRequest_Password((global::Microsoft.AspNetCore.Identity.Data.LoginRequest)obj, value!), 91AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.LoginRequest).GetProperty("Password", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 104DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.Data.LoginRequest), 106Getter = static obj => ((global::Microsoft.AspNetCore.Identity.Data.LoginRequest)obj).TwoFactorCode, 107Setter = static (obj, value) => __set_LoginRequest_TwoFactorCode((global::Microsoft.AspNetCore.Identity.Data.LoginRequest)obj, value!), 114AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.LoginRequest).GetProperty("TwoFactorCode", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 124DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.Data.LoginRequest), 126Getter = static obj => ((global::Microsoft.AspNetCore.Identity.Data.LoginRequest)obj).TwoFactorRecoveryCode, 127Setter = static (obj, value) => __set_LoginRequest_TwoFactorRecoveryCode((global::Microsoft.AspNetCore.Identity.Data.LoginRequest)obj, value!), 134AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.LoginRequest).GetProperty("TwoFactorRecoveryCode", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 144private void LoginRequestSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.Identity.Data.LoginRequest? value) 154writer.WriteString(PropName_Email, ((global::Microsoft.AspNetCore.Identity.Data.LoginRequest)value).Email); 155writer.WriteString(PropName_Password, ((global::Microsoft.AspNetCore.Identity.Data.LoginRequest)value).Password); 156writer.WriteString(PropName_TwoFactorCode, ((global::Microsoft.AspNetCore.Identity.Data.LoginRequest)value).TwoFactorCode); 157writer.WriteString(PropName_TwoFactorRecoveryCode, ((global::Microsoft.AspNetCore.Identity.Data.LoginRequest)value).TwoFactorRecoveryCode); 184private static extern void __set_LoginRequest_Email(global::Microsoft.AspNetCore.Identity.Data.LoginRequest obj, string value); 186private static extern void __set_LoginRequest_Password(global::Microsoft.AspNetCore.Identity.Data.LoginRequest obj, string value); 188private static extern void __set_LoginRequest_TwoFactorCode(global::Microsoft.AspNetCore.Identity.Data.LoginRequest obj, string value); 190private static extern void __set_LoginRequest_TwoFactorRecoveryCode(global::Microsoft.AspNetCore.Identity.Data.LoginRequest obj, string value);
Data\IdentityEndpointsJsonSerializerContext.cs (1)
9[JsonSerializable(typeof(LoginRequest))]
IdentityApiEndpointRouteBuilderExtensions.cs (1)
91([FromBody] LoginRequest login, [FromQuery] bool? useCookies, [FromQuery] bool? useSessionCookies, [FromServices] IServiceProvider sp) =>