Table of Contents

Interface IIntrospectionResponseGenerator

Namespace
Fdyay.IdentityServer.ResponseHandling
Assembly
Fdyay.IdentityServer.Core.dll

Writes the introspection response for a validated request.

public interface IIntrospectionResponseGenerator

Remarks

Duende 8.0.1's IIntrospectionResponseGenerator, measured: active, and for an active token its claims — for an API caller only when the token carries one of the API's scopes, and then with scope narrowed to the API's own.

Methods

ProcessAsync(IntrospectionRequestValidationResult, CancellationToken)

Builds the introspection response (RFC 7662 §2.2) for a validated request.

Task<Dictionary<string, object>> ProcessAsync(IntrospectionRequestValidationResult validationResult, CancellationToken ct)

Parameters

validationResult IntrospectionRequestValidationResult

The validated introspection request, with the token's claims when it is active.

ct CancellationToken

Cancels raising the introspection events.

Returns

Task<Dictionary<string, object>>

The members of the JSON response: active, and for an active token its claims.