mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 17:08:45 +00:00
add: secret to the response model.
This commit is contained in:
parent
26a2180a44
commit
479577f00b
1 changed files with 6 additions and 0 deletions
|
|
@ -40,6 +40,12 @@ class ResourceToken extends Model
|
|||
'default' => '',
|
||||
'example' => 'file',
|
||||
])
|
||||
->addRule('secret', [
|
||||
'type' => self::TYPE_STRING,
|
||||
'description' => 'Token secret for the resource.',
|
||||
'default' => '',
|
||||
'example' => 'Bpw_g9c2TGXxfgLshDbSaL8tsCcqgczQ',
|
||||
])
|
||||
->addRule('expire', [
|
||||
'type' => self::TYPE_DATETIME,
|
||||
'description' => 'Token expiration date in ISO 8601 format.',
|
||||
|
|
|
|||
Loading…
Reference in a new issue