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
109 lines
2.6 KiB
JSON
109 lines
2.6 KiB
JSON
{
|
|
"fields": {
|
|
"name": {
|
|
"type": "varchar",
|
|
"readOnly": true,
|
|
"orderDisabled": true,
|
|
"duplicateIgnore": true
|
|
},
|
|
"value": {
|
|
"type": "varchar",
|
|
"readOnly": true,
|
|
"notStorable": true,
|
|
"orderDisabled": true,
|
|
"directAccessDisabled": true,
|
|
"duplicateIgnore": true,
|
|
"view": "views/o-auth-client-secret/fields/value"
|
|
},
|
|
"hash": {
|
|
"type": "password",
|
|
"dbType": "text",
|
|
"maxLength": 255,
|
|
"readOnly": true,
|
|
"orderDisabled": true,
|
|
"duplicateIgnore": true
|
|
},
|
|
"client": {
|
|
"type": "link",
|
|
"required": true,
|
|
"readOnlyAfterCreate": true
|
|
},
|
|
"status": {
|
|
"type": "enum",
|
|
"options": [
|
|
"Active",
|
|
"Revoked",
|
|
"Expired"
|
|
],
|
|
"default": "Active",
|
|
"maxLength": 7,
|
|
"readOnly": true,
|
|
"style": {
|
|
"Revoked": "info",
|
|
"Expired": "info"
|
|
},
|
|
"audited": true,
|
|
"duplicateIgnore": true
|
|
},
|
|
"expirationDate": {
|
|
"type": "date",
|
|
"readOnlyAfterCreate": true
|
|
},
|
|
"description": {
|
|
"type": "text"
|
|
},
|
|
"createdAt": {
|
|
"type": "datetime",
|
|
"readOnly": true
|
|
},
|
|
"modifiedAt": {
|
|
"type": "datetime",
|
|
"readOnly": true
|
|
},
|
|
"createdBy": {
|
|
"type": "link",
|
|
"readOnly": true
|
|
},
|
|
"modifiedBy": {
|
|
"type": "link",
|
|
"readOnly": true
|
|
}
|
|
},
|
|
"links": {
|
|
"client": {
|
|
"type": "belongsTo",
|
|
"entity": "OAuthClient",
|
|
"foreign": "secrets"
|
|
},
|
|
"createdBy": {
|
|
"type": "belongsTo",
|
|
"entity": "User"
|
|
},
|
|
"modifiedBy": {
|
|
"type": "belongsTo",
|
|
"entity": "User"
|
|
}
|
|
},
|
|
"indexes": {
|
|
"statusExpirationDate": {
|
|
"columns": [
|
|
"status",
|
|
"expirationDate"
|
|
]
|
|
},
|
|
"clientIdStatusCreatedAt": {
|
|
"columns": [
|
|
"clientId",
|
|
"status",
|
|
"createdAt"
|
|
]
|
|
}
|
|
},
|
|
"collection": {
|
|
"orderBy": "createdAt",
|
|
"order": "desc",
|
|
"textFilterFields": []
|
|
},
|
|
"entityClassName": "Espo\\Tools\\OAuthServer\\Entities\\ClientSecret"
|
|
}
|