BeechCMS / @beechcms/core / AuthorizationCodeRecord
Interface: AuthorizationCodeRecord
Extends
Properties
clientId
clientId:
string
Inherited from
codeChallenge
codeChallenge:
string
Inherited from
NewAuthorizationCode.codeChallenge
codeChallengeMethod
codeChallengeMethod:
"S256"
Always 'S256'; the column CHECK constraint rejects anything else.
Inherited from
NewAuthorizationCode.codeChallengeMethod
codeHash
codeHash:
string
SHA-256 hex hash of the code. The plaintext code is never persisted.
Inherited from
consumedAt
consumedAt:
number|null
createdAt
createdAt:
number
expiresAt
expiresAt:
number
Inherited from
NewAuthorizationCode.expiresAt
redirectUri
redirectUri:
string
Inherited from
NewAuthorizationCode.redirectUri
scope
scope: (
"content:read"|"content:delete"|"schema:read"|"schema:write"|"content:write"|"media:read"|"media:write"|"automations:read"|"automations:write"|"users:read"|"users:write"|"settings:read"|"settings:write"|"analytics:read"|"agent:read"|"agent:approve")[]
Inherited from
userId
userId:
string