add: secret to the response model.

This commit is contained in:
Darshan 2025-04-24 09:55:46 +05:30
parent 26a2180a44
commit 479577f00b

View file

@ -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.',