Interface: OAuthResponse
Defined in: oauthServerTypes.ts:33
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:37
JSON-serializable response body.
redirect?
optionalredirect?:string
Defined in: oauthServerTypes.ts:39
When set, the adapter should issue a 302 redirect to this URL.
status
status:
number
Defined in: oauthServerTypes.ts:35
HTTP status code. Defaults to 200 when redirect is unset.