Skip to main content

Interface: AuthorizeRequest

Defined in: oauthServerTypes.ts:309

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

Properties

clientId

clientId: string

Defined in: oauthServerTypes.ts:311

The requesting client_id.


codeChallenge

codeChallenge: string

Defined in: oauthServerTypes.ts:319

The PKCE code_challenge.


codeChallengeMethod

codeChallengeMethod: string

Defined in: oauthServerTypes.ts:321

The PKCE challenge method (always 'S256').


redirectUri

redirectUri: string

Defined in: oauthServerTypes.ts:313

The validated redirect URI.


scopes

scopes: string[]

Defined in: oauthServerTypes.ts:315

The requested scopes.


state?

optional state?: string

Defined in: oauthServerTypes.ts:317

Opaque CSRF/state value to echo back on redirect.