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§
Functions§
- introspect_
token - POST /oauth/introspect (RFC 7662)