Skip to main content

IntrospectionSuccess Class

Abblix.Oidc.Server

Abblix.Oidc.Server.Endpoints.Introspection.Interfaces

IntrospectionSuccess Class

Server-side model of the introspection response defined by RFC 7662 §2.2: a Boolean active flag and, when active, the token's metadata claims. Hosts may extend the JSON via additional top-level members; cross-domain extensions should be listed in the IANA "OAuth Token Introspection Response" registry (RFC 7662 §3.1).

public record IntrospectionSuccess : System.IEquatable<Abblix.Oidc.Server.Endpoints.Introspection.Interfaces.IntrospectionSuccess>

Inheritance System.Object → IntrospectionSuccess

Implements System.IEquatable<IntrospectionSuccess>

Constructors

IntrospectionSuccess(bool, JsonObject, ClientInfo) Constructor

Server-side model of the introspection response defined by RFC 7662 §2.2: a Boolean active flag and, when active, the token's metadata claims. Hosts may extend the JSON via additional top-level members; cross-domain extensions should be listed in the IANA "OAuth Token Introspection Response" registry (RFC 7662 §3.1).

public IntrospectionSuccess(bool Active, System.Text.Json.Nodes.JsonObject? Claims, Abblix.Oidc.Server.Features.ClientInformation.ClientInfo ClientInfo);

Parameters

Active System.Boolean
Claims System.Text.Json.Nodes.JsonObject
ClientInfo ClientInfo

Properties

IntrospectionSuccess.Active Property

RFC 7662 active field: true only if the token is currently valid and the caller is permitted to introspect it. false covers all other cases (expired, revoked, unknown, or not allowed) and per §2.2 is returned without disclosing why.

public bool Active { get; }

Property Value

System.Boolean

IntrospectionSuccess.Claims Property

Token metadata claims (e.g. scope, sub, aud, exp) when Active is true; otherwise null, in line with RFC 7662's guidance not to leak information about inactive tokens.

public System.Text.Json.Nodes.JsonObject? Claims { get; }

Property Value

System.Text.Json.Nodes.JsonObject

IntrospectionSuccess.ClientInfo Property

The authenticated client that requested the introspection. Not serialized into the response body; it selects the response format (plain JSON vs. a signed/encrypted JWT per RFC 9701).

public Abblix.Oidc.Server.Features.ClientInformation.ClientInfo ClientInfo { get; }

Property Value

ClientInfo