update: token scopes tests for console client.

This commit is contained in:
Darshan 2025-05-15 19:37:07 +05:30
parent bebd103611
commit f0a835b3b2
2 changed files with 2 additions and 2 deletions

View file

@ -50,7 +50,7 @@ class Create extends Action
description: <<<EOT
Create a new token. A token is linked to a file. Token can be passed as a header or request get parameter.
EOT,
auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT],
auth: [AuthType::ADMIN, AuthType::KEY],
responses: [
new SDKResponse(
code: Response::STATUS_CODE_CREATED,

View file

@ -41,7 +41,7 @@ class XList extends Action
description: <<<EOT
List all the tokens created for a specific file or bucket. You can use the query params to filter your results.
EOT,
auth: [AuthType::SESSION, AuthType::KEY, AuthType::JWT],
auth: [AuthType::ADMIN, AuthType::KEY],
responses: [
new SDKResponse(
code: Response::STATUS_CODE_OK,