1 instantiation of InfoRequest
Microsoft.AspNetCore.Identity (1)
IdentityEndpointsJsonSerializerContext.InfoRequest.g.cs (1)
32ObjectWithParameterizedConstructorCreator = 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)
1212options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(type: typeof(global::Microsoft.AspNetCore.Identity.Data.InfoRequest), isOptional: false, contentTypes: GeneratedMetadataConstants.JsonContentType)); 1227var 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!); 1235var infoRequest_JsonTypeInfo = (JsonTypeInfo<global::Microsoft.AspNetCore.Identity.Data.InfoRequest>)jsonSerializerOptions.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Identity.Data.InfoRequest)); 1245var 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)!); 1258var infoRequest_resolveBodyResult = await GeneratedRouteBuilderExtensionsCore.TryResolveBodyAsync<global::Microsoft.AspNetCore.Identity.Data.InfoRequest>(httpContext, logOrThrowExceptionHelper, false, "InfoRequest", "infoRequest", infoRequest_JsonTypeInfo); 1259var infoRequest_local = infoRequest_resolveBodyResult.Item2; 1287var infoRequest_resolveBodyResult = await GeneratedRouteBuilderExtensionsCore.TryResolveBodyAsync<global::Microsoft.AspNetCore.Identity.Data.InfoRequest>(httpContext, logOrThrowExceptionHelper, false, "InfoRequest", "infoRequest", infoRequest_JsonTypeInfo); 1288var infoRequest_local = infoRequest_resolveBodyResult.Item2; 1301var 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)); 1312var 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)
34if (type == typeof(global::Microsoft.AspNetCore.Identity.Data.InfoRequest))
IdentityEndpointsJsonSerializerContext.InfoRequest.g.cs (23)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.Data.InfoRequest>? _InfoRequest; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.Data.InfoRequest> InfoRequest 22get => _InfoRequest ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.Data.InfoRequest>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Identity.Data.InfoRequest)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.Data.InfoRequest> Create_InfoRequest(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.Identity.Data.InfoRequest>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.Data.InfoRequest> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.AspNetCore.Identity.Data.InfoRequest> 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.InfoRequest).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.InfoRequest>(options, objectInfo); 56DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.Data.InfoRequest), 58Getter = static obj => ((global::Microsoft.AspNetCore.Identity.Data.InfoRequest)obj).NewEmail, 66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.InfoRequest).GetProperty("NewEmail", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 76DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.Data.InfoRequest), 78Getter = static obj => ((global::Microsoft.AspNetCore.Identity.Data.InfoRequest)obj).NewPassword, 86AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.InfoRequest).GetProperty("NewPassword", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 96DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.Data.InfoRequest), 98Getter = static obj => ((global::Microsoft.AspNetCore.Identity.Data.InfoRequest)obj).OldPassword, 106AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.InfoRequest).GetProperty("OldPassword", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 116private void InfoRequestSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.Identity.Data.InfoRequest? value) 126writer.WriteString(PropName_NewEmail, ((global::Microsoft.AspNetCore.Identity.Data.InfoRequest)value).NewEmail); 127writer.WriteString(PropName_NewPassword, ((global::Microsoft.AspNetCore.Identity.Data.InfoRequest)value).NewPassword); 128writer.WriteString(PropName_OldPassword, ((global::Microsoft.AspNetCore.Identity.Data.InfoRequest)value).OldPassword);