mirror of
https://github.com/appwrite/appwrite
synced 2026-05-22 08:28:42 +00:00
update: token scopes tests for console client.
This commit is contained in:
parent
bebd103611
commit
f0a835b3b2
2 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue