Interface: OnAuthorizeArgs
Defined in: auth-core/src/oauthServerTypes.ts:349
Arguments passed to OAuthServerOptions.onAuthorize.
Properties
client
client:
OAuthClient
Defined in: auth-core/src/oauthServerTypes.ts:351
The resolved client making the request.
headers
headers:
Record<string,string|undefined>
Defined in: auth-core/src/oauthServerTypes.ts:359
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.
query?
optionalquery?:Record<string,string|undefined>
Defined in: auth-core/src/oauthServerTypes.ts:364
The raw /authorize query string, so a hook can read parameters the
engine does not model (RFC 8707 resource, a consent-resume id).
request
request:
AuthorizeRequest
Defined in: auth-core/src/oauthServerTypes.ts:353
The validated authorization request.