Skip to main content

Module introspection

Module introspection 

Source
Expand description

RFC 7662 Token Introspection endpoint.

POST /oauth/introspect — validates a token and returns its metadata. Caller must authenticate with a Bearer token.

  • JWT access tokens: routed by algorithm and verified against the server’s exact published composite pair or Ed25519 key.
  • Opaque refresh tokens: looked up from RocksDB with lazy expiry.
  • Any failure → {"active": false} per RFC 7662 § 2.2.

Structs§

IntrospectRequest

Functions§

introspect_token
POST /oauth/introspect (RFC 7662)