Path: redb-identity/src/redb.Identity.Core/OpenIddict/Handlers/ApplyIntrospectionResponseHandler.cs Snapshot: redb-identity, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb-identity Page: https://redbase.app/src/dev-2026-12-06/redb-identity/src/redb.Identity.Core/OpenIddict/Handlers/ApplyIntrospectionResponseHandler.cs ---- using OpenIddict.Server; using static OpenIddict.Server.OpenIddictServerEvents; namespace redb.Identity.Core.OpenIddict.Handlers; /// /// Writes the introspection response to . /// internal sealed class ApplyIntrospectionResponseHandler : IOpenIddictServerHandler { public static OpenIddictServerHandlerDescriptor Descriptor { get; } = OpenIddictServerHandlerDescriptor.CreateBuilder() .UseSingletonHandler() .SetOrder(int.MaxValue - 50_000) .Build(); public ValueTask HandleAsync(ApplyIntrospectionResponseContext context) { var exchange = context.Transaction.GetRouteExchange(); if (exchange is null) return default; RedbRouteOpenIddictServerHelpers.WriteResponseToExchange(exchange, context.Response); context.HandleRequest(); return default; } }