public function OAuth2ManagerInterface::getUserInfo in Social API 8.2
Same name and namespace in other branches
- 3.x src/AuthManager/OAuth2ManagerInterface.php \Drupal\social_api\AuthManager\OAuth2ManagerInterface::getUserInfo()
Gets data about the user.
Return value
\League\OAuth2\Client\Provider\GenericResourceOwner|array|mixed User info returned by provider.
File
- src/
AuthManager/ OAuth2ManagerInterface.php, line 77
Class
- OAuth2ManagerInterface
- Defines an OAuth2Manager Interface.
Namespace
Drupal\social_api\AuthManagerCode
public function getUserInfo();