public function OAuth2Manager::setClient in Social API 8.2
Same name and namespace in other branches
- 3.x src/AuthManager/OAuth2Manager.php \Drupal\social_api\AuthManager\OAuth2Manager::setClient()
Sets the provider client.
Parameters
mixed $client: The service client.
Return value
$this The current object.
Overrides OAuth2ManagerInterface::setClient
File
- src/
AuthManager/ OAuth2Manager.php, line 80
Class
- OAuth2Manager
- Defines basic OAuth2Manager to be used by social auth and social post.
Namespace
Drupal\social_api\AuthManagerCode
public function setClient($client) {
$this->client = $client;
return $this;
}