Last modified by Ashterix on 2024/07/11 10:08

From version 1.2
edited by Ashterix
on 2024/05/10 11:09
Change comment: There is no comment for this version
To version 2.1
edited by Ashterix
on 2024/05/10 15:48
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -54,6 +54,8 @@
54 54  {{/spoiler}}
55 55  
56 56  
57 +
58 +
57 57  == Parameter {{code language="none"}}clients_tokens{{/code}} ==
58 58  
59 59  Now you need to specify an array of client tokens that will have access to the API.
... ... @@ -127,7 +127,7 @@
127 127  
128 128   public function __construct(protected UserService $userService) {}
129 129  
130 - public function isValid(string $token): bool
132 + public function isValid(string $token): true
131 131   {
132 132   try {
133 133   this.userService.getUserByToken(token);