Skip to main content

Interface: OAuthRequest

Defined in: auth-core/src/oauthServerTypes.ts:20

A normalized inbound HTTP request, framework-agnostic.

Properties​

body​

body: Record<string, unknown>

Defined in: auth-core/src/oauthServerTypes.ts:24

Parsed request body (e.g. form-encoded /token or JSON /register).


headers​

headers: Record<string, string | undefined>

Defined in: auth-core/src/oauthServerTypes.ts:26

Request headers, lower-cased keys recommended (e.g. authorization).


query​

query: Record<string, string | undefined>

Defined in: auth-core/src/oauthServerTypes.ts:22

Query-string parameters (e.g. from /authorize?client_id=...).