mirror of
https://github.com/appwrite/appwrite
synced 2026-05-14 20:48:45 +00:00
Update src/Appwrite/Auth/OAuth2/Auth0.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
This commit is contained in:
parent
3397036224
commit
90e55f4c34
1 changed files with 1 additions and 1 deletions
|
|
@ -159,7 +159,7 @@ class Auth0 extends OAuth2
|
|||
*
|
||||
* @return array
|
||||
*/
|
||||
protected function getUser(string $accessToken)
|
||||
protected function getUser(string $accessToken): array
|
||||
{
|
||||
if (empty($this->user)) {
|
||||
$headers = ['Authorization: Bearer '. \urlencode($accessToken)];
|
||||
|
|
|
|||
Loading…
Reference in a new issue