1 instantiation of InfoRequest
Microsoft.AspNetCore.Identity (1)
IdentityEndpointsJsonSerializerContext.InfoRequest.g.cs (1)
32
ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.AspNetCore.Identity.Data.
InfoRequest
(){ NewEmail = (string)args[0], NewPassword = (string)args[1], OldPassword = (string)args[2] },
37 references to InfoRequest
Microsoft.AspNetCore.Identity (37)
Data\IdentityEndpointsJsonSerializerContext.cs (1)
14
[JsonSerializable(typeof(
InfoRequest
))]
GeneratedRouteBuilderExtensions.g.cs (11)
1212
options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(type: typeof(global::Microsoft.AspNetCore.Identity.Data.
InfoRequest
), isOptional: false, contentTypes: GeneratedMetadataConstants.JsonContentType));
1227
var handler = Cast(del, global::System.Threading.Tasks.Task<global::Microsoft.AspNetCore.Http.HttpResults.Results<global::Microsoft.AspNetCore.Http.HttpResults.Ok<global::Microsoft.AspNetCore.Identity.Data.InfoResponse>, global::Microsoft.AspNetCore.Http.HttpResults.ValidationProblem, global::Microsoft.AspNetCore.Http.HttpResults.NotFound>> (global::System.Security.Claims.ClaimsPrincipal arg0, global::Microsoft.AspNetCore.Identity.Data.
InfoRequest
arg1, global::Microsoft.AspNetCore.Http.HttpContext arg2, global::System.IServiceProvider arg3) => throw null!);
1235
var infoRequest_JsonTypeInfo = (JsonTypeInfo<global::Microsoft.AspNetCore.Identity.Data.
InfoRequest
>)jsonSerializerOptions.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Identity.Data.
InfoRequest
));
1245
var task = handler(ic.GetArgument<global::System.Security.Claims.ClaimsPrincipal>(0)!, ic.GetArgument<global::Microsoft.AspNetCore.Identity.Data.
InfoRequest
>(1)!, ic.GetArgument<global::Microsoft.AspNetCore.Http.HttpContext>(2)!, ic.GetArgument<global::System.IServiceProvider>(3)!);
1258
var infoRequest_resolveBodyResult = await GeneratedRouteBuilderExtensionsCore.TryResolveBodyAsync<global::Microsoft.AspNetCore.Identity.Data.
InfoRequest
>(httpContext, logOrThrowExceptionHelper, false, "InfoRequest", "infoRequest", infoRequest_JsonTypeInfo);
1259
var
infoRequest_local = infoRequest_resolveBodyResult.Item2;
1287
var infoRequest_resolveBodyResult = await GeneratedRouteBuilderExtensionsCore.TryResolveBodyAsync<global::Microsoft.AspNetCore.Identity.Data.
InfoRequest
>(httpContext, logOrThrowExceptionHelper, false, "InfoRequest", "infoRequest", infoRequest_JsonTypeInfo);
1288
var
infoRequest_local = infoRequest_resolveBodyResult.Item2;
1301
var result = await filteredInvocation(EndpointFilterInvocationContext.Create<global::System.Security.Claims.ClaimsPrincipal, global::Microsoft.AspNetCore.Identity.Data.
InfoRequest
, global::Microsoft.AspNetCore.Http.HttpContext, global::System.IServiceProvider>(httpContext, claimsPrincipal_local, infoRequest_local!, context_local, sp_local));
1312
var castHandler = Cast(handler, global::System.Threading.Tasks.Task<global::Microsoft.AspNetCore.Http.HttpResults.Results<global::Microsoft.AspNetCore.Http.HttpResults.Ok<global::Microsoft.AspNetCore.Identity.Data.InfoResponse>, global::Microsoft.AspNetCore.Http.HttpResults.ValidationProblem, global::Microsoft.AspNetCore.Http.HttpResults.NotFound>> (global::System.Security.Claims.ClaimsPrincipal arg0, global::Microsoft.AspNetCore.Identity.Data.
InfoRequest
arg1, global::Microsoft.AspNetCore.Http.HttpContext arg2, global::System.IServiceProvider arg3) => throw null!);
IdentityApiEndpointRouteBuilderExtensions.cs (1)
349
(ClaimsPrincipal claimsPrincipal, [FromBody]
InfoRequest
infoRequest, HttpContext context, [FromServices] IServiceProvider sp) =>
IdentityEndpointsJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
34
if (type == typeof(global::Microsoft.AspNetCore.Identity.Data.
InfoRequest
))
IdentityEndpointsJsonSerializerContext.InfoRequest.g.cs (23)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.Data.
InfoRequest
>? _InfoRequest;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.Data.
InfoRequest
> InfoRequest
22
get => _InfoRequest ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.Data.
InfoRequest
>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Identity.Data.
InfoRequest
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.Data.
InfoRequest
> Create_InfoRequest(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.Identity.Data.
InfoRequest
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.Data.
InfoRequest
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.AspNetCore.Identity.Data.
InfoRequest
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.
InfoRequest
).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.
InfoRequest
>(options, objectInfo);
56
DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.Data.
InfoRequest
),
58
Getter = static obj => ((global::Microsoft.AspNetCore.Identity.Data.
InfoRequest
)obj).NewEmail,
66
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.
InfoRequest
).GetProperty("NewEmail", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
76
DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.Data.
InfoRequest
),
78
Getter = static obj => ((global::Microsoft.AspNetCore.Identity.Data.
InfoRequest
)obj).NewPassword,
86
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.
InfoRequest
).GetProperty("NewPassword", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
96
DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.Data.
InfoRequest
),
98
Getter = static obj => ((global::Microsoft.AspNetCore.Identity.Data.
InfoRequest
)obj).OldPassword,
106
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.
InfoRequest
).GetProperty("OldPassword", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
116
private void InfoRequestSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.Identity.Data.
InfoRequest
? value)
126
writer.WriteString(PropName_NewEmail, ((global::Microsoft.AspNetCore.Identity.Data.
InfoRequest
)value).NewEmail);
127
writer.WriteString(PropName_NewPassword, ((global::Microsoft.AspNetCore.Identity.Data.
InfoRequest
)value).NewPassword);
128
writer.WriteString(PropName_OldPassword, ((global::Microsoft.AspNetCore.Identity.Data.
InfoRequest
)value).OldPassword);