|
@@ -19,7 +19,7 @@ class Yandex extends Driver
|
|
protected string $authURL = 'https://oauth.yandex.ru/authorize';
|
|
protected string $authURL = 'https://oauth.yandex.ru/authorize';
|
|
protected string $tokenURL = 'https://oauth.yandex.ru/token';
|
|
protected string $tokenURL = 'https://oauth.yandex.ru/token';
|
|
protected string $userURL = 'https://login.yandex.ru/info?format=json';
|
|
protected string $userURL = 'https://login.yandex.ru/info?format=json';
|
|
- protected string $scope = 'login:info login:email login:avatar';
|
|
|
|
|
|
+ protected string $scope = ''; // 'login:info login:email login:avatar'; // разрешает не передавать
|
|
|
|
|
|
/**
|
|
/**
|
|
* Запрашивает информацию о пользователе
|
|
* Запрашивает информацию о пользователе
|