feat: update Yahoo OAuth provider
This commit is contained in:
parent
b810d52e59
commit
99871309c1
1 changed files with 5 additions and 1 deletions
|
@ -164,13 +164,17 @@ class Yahoo extends OAuth2
|
||||||
/**
|
/**
|
||||||
* Check if the OAuth email is verified
|
* Check if the OAuth email is verified
|
||||||
*
|
*
|
||||||
|
* If present, the email is verified. This was verfied through a manual Yahoo sign up process
|
||||||
|
*
|
||||||
* @param $accessToken
|
* @param $accessToken
|
||||||
*
|
*
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public function isEmailVerified(string $accessToken): bool
|
public function isEmailVerified(string $accessToken): bool
|
||||||
{
|
{
|
||||||
return false;
|
$email = $this->getUserEmail($accessToken);
|
||||||
|
|
||||||
|
return !empty($email);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue