You are here

public function OAuth2Manager::setClient in Social Auth 8

Sets the service client.

Parameters

mixed $client: The service client.

Return value

$this The current object.

Overrides OAuth2ManagerInterface::setClient

File

src/AuthManager/OAuth2Manager.php, line 29

Class

OAuth2Manager
Defines a basic OAuth2Manager.

Namespace

Drupal\social_auth\AuthManager

Code

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