Skip to content

IntrospectionRequest Class

The token introspection request (RFC 7662). The bound properties, BindAsync and the projection onto the core model are generated from IntrospectionRequest by the Minimal API model source generator.

C#
public record IntrospectionRequest : System.IEquatable<Abblix.Oidc.Server.MinimalApi.Model.IntrospectionRequest>

Inheritance System.Object → IntrospectionRequest

Implements System.IEquatable<IntrospectionRequest>

Properties

IntrospectionRequest.Token Property

The token parameter (RFC 7662 §2.1): the token string for which the client is requesting introspection metadata. Required.

C#
public string Token { get; init; }

Property Value

System.String

IntrospectionRequest.TokenTypeHint Property

The optional token_type_hint (RFC 7662 §2.1) telling the server which token type to try first, for example access_token or refresh_token. The server may still inspect other token types.

C#
public string? TokenTypeHint { get; init; }

Property Value

System.String

Methods

IntrospectionRequest.BindAsync(HttpContext) Method

Binds the model from the request's form, query, headers and TLS connection.

C#
public static System.Threading.Tasks.ValueTask<Abblix.Oidc.Server.MinimalApi.Model.IntrospectionRequest?> BindAsync(Microsoft.AspNetCore.Http.HttpContext context);

Parameters

context Microsoft.AspNetCore.Http.HttpContext

Returns

System.Threading.Tasks.ValueTask<IntrospectionRequest>

Operators

IntrospectionRequest.implicit operator IntrospectionRequest(IntrospectionRequest) Operator

Projects the transport-bound model onto its core counterpart.

C#
public static Abblix.Oidc.Server.Model.IntrospectionRequest implicit operator Abblix.Oidc.Server.Model.IntrospectionRequest(Abblix.Oidc.Server.MinimalApi.Model.IntrospectionRequest request);

Parameters

request IntrospectionRequest

Returns

IntrospectionRequest