You are here

protected function Authentication::setApiClient in Auth0 Single Sign On 8.2

Set an ApiClient for use in this object

@codeCoverageIgnore - Deprecated

Return value

void

Deprecated

5.4.0, not used and no replacement provided.

File

vendor/auth0/auth0-php/src/API/Authentication.php, line 632

Class

Authentication
Class Authentication

Namespace

Auth0\SDK\API

Code

protected function setApiClient() {
  $apiDomain = "https://{$this->domain}";
  $client = new ApiClient([
    'domain' => $apiDomain,
    'basePath' => '/',
    'guzzleOptions' => $this->guzzleOptions,
  ]);
  $this->apiClient = $client;
}