1 instantiation of LoginRequest
Microsoft.AspNetCore.Identity (1)
IdentityEndpointsJsonSerializerContext.LoginRequest.g.cs (1)
32
ObjectWithParameterizedConstructorCreator = 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)
192
options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(type: typeof(global::Microsoft.AspNetCore.Identity.Data.
LoginRequest
), isOptional: false, contentTypes: GeneratedMetadataConstants.JsonContentType));
207
var 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!);
215
var login_JsonTypeInfo = (JsonTypeInfo<global::Microsoft.AspNetCore.Identity.Data.
LoginRequest
>)jsonSerializerOptions.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Identity.Data.
LoginRequest
));
225
var 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)!);
237
var login_resolveBodyResult = await GeneratedRouteBuilderExtensionsCore.TryResolveBodyAsync<global::Microsoft.AspNetCore.Identity.Data.
LoginRequest
>(httpContext, logOrThrowExceptionHelper, false, "LoginRequest", "login", login_JsonTypeInfo);
238
var
login_local = login_resolveBodyResult.Item2;
298
var login_resolveBodyResult = await GeneratedRouteBuilderExtensionsCore.TryResolveBodyAsync<global::Microsoft.AspNetCore.Identity.Data.
LoginRequest
>(httpContext, logOrThrowExceptionHelper, false, "LoginRequest", "login", login_JsonTypeInfo);
299
var
login_local = login_resolveBodyResult.Item2;
345
var 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));
356
var 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)
42
if (type == typeof(global::Microsoft.AspNetCore.Identity.Data.
LoginRequest
))
IdentityEndpointsJsonSerializerContext.LoginRequest.g.cs (27)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.Data.
LoginRequest
>? _LoginRequest;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.Data.
LoginRequest
> LoginRequest
22
get => _LoginRequest ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.Data.
LoginRequest
>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Identity.Data.
LoginRequest
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.Data.
LoginRequest
> Create_LoginRequest(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.Identity.Data.
LoginRequest
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.Data.
LoginRequest
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.AspNetCore.Identity.Data.
LoginRequest
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.
LoginRequest
).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.Data.
LoginRequest
>(options, objectInfo);
56
DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.Data.
LoginRequest
),
58
Getter = static obj => ((global::Microsoft.AspNetCore.Identity.Data.
LoginRequest
)obj).Email,
66
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.
LoginRequest
).GetProperty("Email", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
79
DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.Data.
LoginRequest
),
81
Getter = static obj => ((global::Microsoft.AspNetCore.Identity.Data.
LoginRequest
)obj).Password,
89
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.
LoginRequest
).GetProperty("Password", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
102
DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.Data.
LoginRequest
),
104
Getter = static obj => ((global::Microsoft.AspNetCore.Identity.Data.
LoginRequest
)obj).TwoFactorCode,
112
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.
LoginRequest
).GetProperty("TwoFactorCode", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
122
DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.Data.
LoginRequest
),
124
Getter = static obj => ((global::Microsoft.AspNetCore.Identity.Data.
LoginRequest
)obj).TwoFactorRecoveryCode,
132
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.
LoginRequest
).GetProperty("TwoFactorRecoveryCode", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
142
private void LoginRequestSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.Identity.Data.
LoginRequest
? value)
152
writer.WriteString(PropName_Email, ((global::Microsoft.AspNetCore.Identity.Data.
LoginRequest
)value).Email);
153
writer.WriteString(PropName_Password, ((global::Microsoft.AspNetCore.Identity.Data.
LoginRequest
)value).Password);
154
writer.WriteString(PropName_TwoFactorCode, ((global::Microsoft.AspNetCore.Identity.Data.
LoginRequest
)value).TwoFactorCode);
155
writer.WriteString(PropName_TwoFactorRecoveryCode, ((global::Microsoft.AspNetCore.Identity.Data.
LoginRequest
)value).TwoFactorRecoveryCode);