Skip to main content

Interface: AuthorizeRequest

Defined in: auth-core/src/oauthServerTypes.ts:273

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

Properties

clientId

clientId: string

Defined in: auth-core/src/oauthServerTypes.ts:275

The requesting client_id.


codeChallenge

codeChallenge: string

Defined in: auth-core/src/oauthServerTypes.ts:283

The PKCE code_challenge.


codeChallengeMethod

codeChallengeMethod: string

Defined in: auth-core/src/oauthServerTypes.ts:285

The PKCE challenge method (always 'S256').


redirectUri

redirectUri: string

Defined in: auth-core/src/oauthServerTypes.ts:277

The validated redirect URI.


scopes

scopes: string[]

Defined in: auth-core/src/oauthServerTypes.ts:279

The requested scopes.


state?

optional state?: string

Defined in: auth-core/src/oauthServerTypes.ts:281

Opaque CSRF/state value to echo back on redirect.