Skip to main content

Interface: AuthorizeRequest

Defined in: oauthServerTypes.ts:195

The validated authorization request passed to the consent/login hook.

Properties

clientId

clientId: string

Defined in: oauthServerTypes.ts:197

The requesting client_id.


codeChallenge

codeChallenge: string

Defined in: oauthServerTypes.ts:205

The PKCE code_challenge.


codeChallengeMethod

codeChallengeMethod: string

Defined in: oauthServerTypes.ts:207

The PKCE challenge method (always 'S256').


redirectUri

redirectUri: string

Defined in: oauthServerTypes.ts:199

The validated redirect URI.


scopes

scopes: string[]

Defined in: oauthServerTypes.ts:201

The requested scopes.


state?

optional state?: string

Defined in: oauthServerTypes.ts:203

Opaque CSRF/state value to echo back on redirect.