Skip to main content

Interface: AuthorizeRequest

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

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

Properties

clientId

clientId: string

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

The requesting client_id.


codeChallenge

codeChallenge: string

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

The PKCE code_challenge.


codeChallengeMethod

codeChallengeMethod: string

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

The PKCE challenge method (always 'S256').


redirectUri

redirectUri: string

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

The validated redirect URI.


scopes

scopes: string[]

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

The requested scopes.


state?

optional state?: string

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

Opaque CSRF/state value to echo back on redirect.