Interface: OAuthResponse
Defined in: oauthServerTypes.ts:23
A normalized outbound HTTP response. Either a JSON body with status, or a
redirect (302) — never both. Adapters apply this to their own response.
Properties
body?
optionalbody?:unknown
Defined in: oauthServerTypes.ts:27
JSON-serializable response body.
redirect?
optionalredirect?:string
Defined in: oauthServerTypes.ts:29
When set, the adapter should issue a 302 redirect to this URL.
status
status:
number
Defined in: oauthServerTypes.ts:25
HTTP status code. Defaults to 200 when redirect is unset.