2 instantiations of InfoResponse
Microsoft.AspNetCore.Identity (2)
IdentityApiEndpointRouteBuilderExtensions.cs (1)
460
return
new
()
IdentityEndpointsJsonSerializerContext.InfoResponse.g.cs (1)
32
ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.AspNetCore.Identity.Data.
InfoResponse
(){ Email = (string)args[0], IsEmailConfirmed = (bool)args[1] },
30 references to InfoResponse
Microsoft.AspNetCore.Identity (30)
Data\IdentityEndpointsJsonSerializerContext.cs (1)
15
[JsonSerializable(typeof(
InfoResponse
))]
GeneratedRouteBuilderExtensions.g.cs (6)
1113
PopulateMetadataForEndpoint<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>>(methodInfo, options.EndpointBuilder);
1122
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::System.IServiceProvider arg1) => throw null!);
1190
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::System.IServiceProvider arg1) => throw null!);
1218
PopulateMetadataForEndpoint<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>>(methodInfo, options.EndpointBuilder);
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!);
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 (3)
336
accountGroup.MapGet("/info", async Task<Results<Ok<
InfoResponse
>, ValidationProblem, NotFound>>
348
accountGroup.MapPost("/info", async Task<Results<Ok<
InfoResponse
>, ValidationProblem, NotFound>>
457
private static async Task<
InfoResponse
> CreateInfoResponseAsync<TUser>(TUser user, UserManager<TUser> userManager)
IdentityEndpointsJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
38
if (type == typeof(global::Microsoft.AspNetCore.Identity.Data.
InfoResponse
))
IdentityEndpointsJsonSerializerContext.InfoResponse.g.cs (19)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.Data.
InfoResponse
>? _InfoResponse;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.Data.
InfoResponse
> InfoResponse
22
get => _InfoResponse ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.Data.
InfoResponse
>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Identity.Data.
InfoResponse
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.Data.
InfoResponse
> Create_InfoResponse(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.Identity.Data.
InfoResponse
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Identity.Data.
InfoResponse
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.AspNetCore.Identity.Data.
InfoResponse
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.
InfoResponse
).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.
InfoResponse
>(options, objectInfo);
56
DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.Data.
InfoResponse
),
58
Getter = static obj => ((global::Microsoft.AspNetCore.Identity.Data.
InfoResponse
)obj).Email,
66
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.
InfoResponse
).GetProperty("Email", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
79
DeclaringType = typeof(global::Microsoft.AspNetCore.Identity.Data.
InfoResponse
),
81
Getter = static obj => ((global::Microsoft.AspNetCore.Identity.Data.
InfoResponse
)obj).IsEmailConfirmed,
89
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Identity.Data.
InfoResponse
).GetProperty("IsEmailConfirmed", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null),
100
private void InfoResponseSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.Identity.Data.
InfoResponse
? value)
110
writer.WriteString(PropName_Email, ((global::Microsoft.AspNetCore.Identity.Data.
InfoResponse
)value).Email);
111
writer.WriteBoolean(PropName_IsEmailConfirmed, ((global::Microsoft.AspNetCore.Identity.Data.
InfoResponse
)value).IsEmailConfirmed);