Skip to main content

QOAuthCreateAuthorizationCodeInput

@quik/oauth-server


@quik/oauth-server / QOAuthCreateAuthorizationCodeInput

Type Alias: QOAuthCreateAuthorizationCodeInput

QOAuthCreateAuthorizationCodeInput = object

Defined in: oauth-server/src/types.ts:50

Input used to create an authorization code.

Properties

clientId

clientId: string

Defined in: oauth-server/src/types.ts:52

Client requesting authorization.


codeChallenge?

optional codeChallenge?: string

Defined in: oauth-server/src/types.ts:60

Optional PKCE code challenge.


codeChallengeMethod?

optional codeChallengeMethod?: QOAuthPKCEChallengeMethod

Defined in: oauth-server/src/types.ts:62

Optional PKCE challenge method.


redirectUri

redirectUri: string

Defined in: oauth-server/src/types.ts:56

Redirect URI selected for callback.


scope?

optional scope?: string[]

Defined in: oauth-server/src/types.ts:58

Approved scopes.


userId

userId: string

Defined in: oauth-server/src/types.ts:54

Resource owner identifier.