-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Yandex provider #1016
Added Yandex provider #1016
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I've a few notes to fix/review
src/Provider/Yandex.php
Outdated
{ | ||
$data = parent::validateAccessTokenExchange($response); | ||
|
||
// Need to store user_id as token for later use. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do not see any usages of this. Why do we need to overried this method?
src/Provider/Yandex.php
Outdated
|
||
return $userProfile; | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add blank line
src/Provider/Yandex.php
Outdated
/** | ||
* {@inheritdoc} | ||
*/ | ||
public function hasAccessTokenExpired() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do not see reason to override this method - the same logic as in parent class.
@ApacheEx added changes, tested new changes and it still works as expected 👍 |
@ApacheEx could you please review and merge? |
Thanks a lot. Great job 🥇 |
Added Yandex provider for v3 for #1013