mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 17:08:45 +00:00
feat: added check for Box OAuth
This commit is contained in:
parent
dcaa89e75f
commit
984c6f0e30
1 changed files with 6 additions and 2 deletions
|
|
@ -150,15 +150,19 @@ class Box extends OAuth2
|
|||
/**
|
||||
* Check if the OAuth email is verified
|
||||
*
|
||||
* If present, the email is verified. This was verfied through a manual Box sign up process
|
||||
*
|
||||
* @param $accessToken
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function isEmailVerified(string $accessToken): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
$email = $this->getUserEmail($accessToken);
|
||||
|
||||
return !empty($email);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $accessToken
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue