BeechCMS / @beechcms/core / OAuthTokenRecord
Interface: OAuthTokenRecord
Extends
Properties
authorizationCodeHash
authorizationCodeHash:
string
Hash of the authorization code this token descends from, for cascade revocation.
Inherited from
NewOAuthToken.authorizationCodeHash
clientId
clientId:
string
Inherited from
createdAt
createdAt:
number
expiresAt
expiresAt:
number
Inherited from
id
id:
string
Inherited from
revokedAt
revokedAt:
number|null
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
tokenHash
tokenHash:
string
SHA-256 hex hash of the token. The plaintext token is never persisted.
Inherited from
tokenType
tokenType:
OAuthTokenType
Inherited from
userId
userId:
string