You are here

public function OAuth2ManagerInterface::setClient in Social API 3.x

Same name and namespace in other branches
  1. 8.2 src/AuthManager/OAuth2ManagerInterface.php \Drupal\social_api\AuthManager\OAuth2ManagerInterface::setClient()

Sets the provider client.

Parameters

mixed $client: The service client.

Return value

$this The current object.

1 method overrides OAuth2ManagerInterface::setClient()
OAuth2Manager::setClient in src/AuthManager/OAuth2Manager.php
Sets the provider client.

File

src/AuthManager/OAuth2ManagerInterface.php, line 26

Class

OAuth2ManagerInterface
Defines an OAuth2Manager Interface.

Namespace

Drupal\social_api\AuthManager

Code

public function setClient($client);