Files
upstream-espocrm/application/Espo/Resources/metadata/entityDefs/OAuthClient.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

114 lines
2.8 KiB
JSON

{
"fields": {
"name": {
"type": "varchar",
"maxLength": 100,
"required": true,
"index": true,
"audited": true
},
"status": {
"type": "enum",
"options": [
"Active",
"Inactive"
],
"default": "Active",
"maxLength": 8,
"style": {
"Inactive": "info"
},
"duplicateIgnore": true
},
"clientType": {
"type": "enum",
"options": [
"Confidential",
"Public"
],
"default": "Confidential",
"maxLength": 12,
"readOnlyAfterCreate": true,
"audited": true
},
"identifier": {
"type": "varchar",
"readOnly": true,
"maxLength": 36,
"audited": true,
"copyToClipboard": true,
"duplicateIgnore": true
},
"redirectUris": {
"type": "urlMultiple",
"protocolRequired": true,
"audited": true,
"maxItemLength": 1500,
"storeArrayValues": false
},
"scopes": {
"type": "array",
"audited": true,
"displayAsList": true,
"required": true,
"validatorClassNameList": [
"Espo\\Classes\\FieldValidators\\OAuthClient\\Scopes\\Valid"
],
"view": "views/o-auth-client/fields/scopes",
"tooltip": 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": {
"secrets": {
"type": "hasMany",
"entity": "OAuthClientSecret",
"foreign": "client",
"orderBy": "createdAt",
"order": "desc",
"readOnly": true
},
"createdBy": {
"type": "belongsTo",
"entity": "User"
},
"modifiedBy": {
"type": "belongsTo",
"entity": "User"
}
},
"collection": {
"orderBy": "name",
"order": "asc",
"textFilterFields": [
"name"
]
},
"indexes": {
"identifier": {
"columns": [
"identifier"
]
}
},
"entityClassName": "Espo\\Tools\\OAuthServer\\Entities\\Client"
}