Files
upstream-espocrm/application/Espo/Resources/metadata/entityDefs/OAuthAccessToken.json
upstream-mirror 7cc7e6b4f3
Some checks failed
Test / Test on PHP 8.3 (push) Failing after 5s
Test / Test on PHP 8.4 (push) Failing after 4s
Test / Test on PHP 8.5 (push) Failing after 3s
TypeScript static analysis / TypeScript check (push) Failing after 14s
Test Integration on MySQL / Test on PHP 8.3 (push) Failing after 1s
Test Integration on MySQL / Test on PHP 8.5 (push) Failing after 1s
Test Integration on PostgreSQL / Test on PHP 8.4 fix (push) Failing after 1s
Test Integration on PostgreSQL / Test on PHP 8.4 master (push) Failing after 1s
snapshot of https://github.com/espocrm/espocrm.git (master, 2026-09-18; blobs > 131072B omitted)
2026-09-18 04:19:15 +05:00

94 lines
2.1 KiB
JSON

{
"fields": {
"identifier": {
"type": "password",
"notStorable": true,
"maxLength": 80,
"readOnly": true,
"required": true,
"utility": true
},
"hash": {
"type": "password",
"maxLength": 64,
"readOnly": true
},
"status": {
"type": "enum",
"options": [
"Active",
"Revoked",
"Expired"
],
"default": "Active",
"maxLength": 7,
"readOnly": true,
"style": {
"Revoked": "info",
"Expired": "info"
}
},
"expiresAt": {
"type": "datetime",
"readOnly": true,
"required": true
},
"scopes": {
"type": "array",
"readOnly": true,
"displayAsList": true,
"storeArrayValues": false
},
"user": {
"type": "link",
"readOnly": true
},
"client": {
"type": "link",
"readOnly": true
},
"createdAt": {
"type": "datetime",
"readOnly": true
},
"modifiedAt": {
"type": "datetime",
"readOnly": true
}
},
"links": {
"user": {
"type": "belongsTo",
"entity": "User"
},
"client": {
"type": "belongsTo",
"entity": "OAuthClient"
}
},
"collection": {
"orderBy": "createdAt",
"order": "desc",
"textFilterFields": []
},
"indexes": {
"hash": {
"columns": [
"hash"
]
},
"createdAt": {
"columns": [
"createdAt"
]
},
"expiresAtStatus": {
"columns": [
"expiresAt",
"status"
]
}
},
"entityClassName": "Espo\\Tools\\OAuthServer\\Entities\\AccessToken"
}