Skip to main content

Interface: OnAuthorizeArgs

Defined in: oauthServerTypes.ts:211

Arguments passed to OAuthServerOptions.onAuthorize.

Properties

client

client: OAuthClient

Defined in: oauthServerTypes.ts:213

The resolved client making the request.


headers

headers: Record<string, string | undefined>

Defined in: oauthServerTypes.ts:221

The inbound request headers, so the app can read its own session cookie to decide whether the user is authenticated. Runner-agnostic: there is no framework context here.


request

request: AuthorizeRequest

Defined in: oauthServerTypes.ts:215

The validated authorization request.