You are here

public function OAuth2Manager::getClient in Social API 8.2

Same name and namespace in other branches
  1. 3.x src/AuthManager/OAuth2Manager.php \Drupal\social_api\AuthManager\OAuth2Manager::getClient()

Gets the service client object.

Return value

mixed The service client object.

Overrides OAuth2ManagerInterface::getClient

File

src/AuthManager/OAuth2Manager.php, line 88

Class

OAuth2Manager
Defines basic OAuth2Manager to be used by social auth and social post.

Namespace

Drupal\social_api\AuthManager

Code

public function getClient() {
  return $this->client;
}