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

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

Summary

Details

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