1 instantiation of ForgotPasswordRequest
Microsoft.AspNetCore.Identity (1)
IdentityEndpointsJsonSerializerContext.ForgotPasswordRequest.g.cs (1)
32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.AspNetCore.Identity.Data.ForgotPasswordRequest(){ Email = (string)args[0] },
30 references to ForgotPasswordRequest
Microsoft.AspNetCore.Identity (30)
Data\IdentityEndpointsJsonSerializerContext.cs (1)
12[JsonSerializable(typeof(ForgotPasswordRequest))]
Data\ResetPasswordRequest.cs (1)
15/// The email address for the user requesting a password reset. This should match <see cref="ForgotPasswordRequest.Email"/>.
GeneratedRouteBuilderExtensions.g.cs (11)
759options.EndpointBuilder.Metadata.Add(new AcceptsMetadata(type: typeof(global::Microsoft.AspNetCore.Identity.Data.ForgotPasswordRequest), isOptional: false, contentTypes: GeneratedMetadataConstants.JsonContentType)); 772var handler = Cast(del, global::System.Threading.Tasks.Task<global::Microsoft.AspNetCore.Http.HttpResults.Results<global::Microsoft.AspNetCore.Http.HttpResults.Ok, global::Microsoft.AspNetCore.Http.HttpResults.ValidationProblem>> (global::Microsoft.AspNetCore.Identity.Data.ForgotPasswordRequest arg0, global::System.IServiceProvider arg1) => throw null!); 780var resetRequest_JsonTypeInfo = (JsonTypeInfo<global::Microsoft.AspNetCore.Identity.Data.ForgotPasswordRequest>)jsonSerializerOptions.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Identity.Data.ForgotPasswordRequest)); 790var task = handler(ic.GetArgument<global::Microsoft.AspNetCore.Identity.Data.ForgotPasswordRequest>(0)!, ic.GetArgument<global::System.IServiceProvider>(1)!); 802var resetRequest_resolveBodyResult = await GeneratedRouteBuilderExtensionsCore.TryResolveBodyAsync<global::Microsoft.AspNetCore.Identity.Data.ForgotPasswordRequest>(httpContext, logOrThrowExceptionHelper, false, "ForgotPasswordRequest", "resetRequest", resetRequest_JsonTypeInfo); 803var resetRequest_local = resetRequest_resolveBodyResult.Item2; 829var resetRequest_resolveBodyResult = await GeneratedRouteBuilderExtensionsCore.TryResolveBodyAsync<global::Microsoft.AspNetCore.Identity.Data.ForgotPasswordRequest>(httpContext, logOrThrowExceptionHelper, false, "ForgotPasswordRequest", "resetRequest", resetRequest_JsonTypeInfo); 830var resetRequest_local = resetRequest_resolveBodyResult.Item2; 842var result = await filteredInvocation(EndpointFilterInvocationContext.Create<global::Microsoft.AspNetCore.Identity.Data.ForgotPasswordRequest, global::System.IServiceProvider>(httpContext, resetRequest_local!, sp_local)); 853var castHandler = Cast(handler, global::System.Threading.Tasks.Task<global::Microsoft.AspNetCore.Http.HttpResults.Results<global::Microsoft.AspNetCore.Http.HttpResults.Ok, global::Microsoft.AspNetCore.Http.HttpResults.ValidationProblem>> (global::Microsoft.AspNetCore.Identity.Data.ForgotPasswordRequest arg0, global::System.IServiceProvider arg1) => throw null!);
IdentityApiEndpointRouteBuilderExtensions.cs (1)
207([FromBody] ForgotPasswordRequest resetRequest, [FromServices] IServiceProvider sp) =>
IdentityEndpointsJsonSerializerContext.ForgotPasswordRequest.g.cs (15)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.Data.ForgotPasswordRequest>? _ForgotPasswordRequest; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.Data.ForgotPasswordRequest> ForgotPasswordRequest 22get => _ForgotPasswordRequest ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.Data.ForgotPasswordRequest>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Identity.Data.ForgotPasswordRequest)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.Data.ForgotPasswordRequest> Create_ForgotPasswordRequest(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.Identity.Data.ForgotPasswordRequest>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.Data.ForgotPasswordRequest> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.AspNetCore.Identity.Data.ForgotPasswordRequest> 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.ForgotPasswordRequest).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.ForgotPasswordRequest>(options, objectInfo); 56DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.Data.ForgotPasswordRequest), 58Getter = static obj => ((global::Microsoft.AspNetCore.Identity.Data.ForgotPasswordRequest)obj).Email, 66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.ForgotPasswordRequest).GetProperty("Email", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 79private void ForgotPasswordRequestSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.Identity.Data.ForgotPasswordRequest? value) 89writer.WriteString(PropName_Email, ((global::Microsoft.AspNetCore.Identity.Data.ForgotPasswordRequest)value).Email);
IdentityEndpointsJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
30if (type == typeof(global::Microsoft.AspNetCore.Identity.Data.ForgotPasswordRequest))