1
0
Fork 0
mirror of synced 2024-06-29 11:40:45 +12:00

feat: update Yammer OAuth provider

This commit is contained in:
Christy Jacob 2022-04-27 23:50:03 +03:00
parent 99871309c1
commit 35ac32bd22

View file

@ -133,13 +133,17 @@ class Yammer extends OAuth2
/**
* Check if the OAuth email is verified
*
* If present, the email is verified.
*
* @param $accessToken
*
* @return bool
*/
public function isEmailVerified(string $accessToken): bool
{
return false;
$email = $this->getUserEmail($accessToken);
return !empty($email);
}
/**