2023-05-24 13:01:59 +00:00
|
|
|
{
|
|
|
|
"name": "AccessTokenConfig",
|
|
|
|
"base": "VnModel",
|
|
|
|
"options": {
|
|
|
|
"mysql": {
|
|
|
|
"table": "accessTokenConfig"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "number",
|
|
|
|
"id": true,
|
|
|
|
"description": "Identifier"
|
|
|
|
},
|
|
|
|
"renewPeriod": {
|
|
|
|
"type": "number",
|
|
|
|
"required": true
|
|
|
|
},
|
2023-06-29 08:45:02 +00:00
|
|
|
"courtesyTime": {
|
|
|
|
"type": "number",
|
|
|
|
"required": true
|
|
|
|
},
|
2023-05-24 13:01:59 +00:00
|
|
|
"renewInterval": {
|
|
|
|
"type": "number",
|
|
|
|
"required": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"acls": [{
|
|
|
|
"accessType": "READ",
|
|
|
|
"principalType": "ROLE",
|
|
|
|
"principalId": "$everyone",
|
|
|
|
"permission": "ALLOW"
|
|
|
|
}]
|
|
|
|
}
|