You are here

MockAuthenticationApi.php in Auth0 Single Sign On 8.2

File

vendor/auth0/auth0-php/tests/API/Authentication/MockAuthenticationApi.php
View source
<?php

namespace Auth0\Tests\API\Authentication;

use Auth0\SDK\API\Authentication;
use Auth0\Tests\MockApi;

/**
 * Class MockAuthenticationApi
 *
 * @package Auth0\Tests\API\Authentication
 */
class MockAuthenticationApi extends MockApi {

  /**
   * @var Authentication
   */
  protected $client;

  /**
   * @param array $guzzleOptions
   * @param array $config
   */
  public function setClient(array $guzzleOptions, array $config = []) {
    $this->client = new Authentication('test-domain.auth0.com', '__test_client_id__', '__test_client_secret__', null, null, $guzzleOptions);
  }

}

Classes

Namesort descending Description
MockAuthenticationApi Class MockAuthenticationApi