class MockAuthenticationApi in Auth0 Single Sign On 8.2
Class MockAuthenticationApi
@package Auth0\Tests\API\Authentication
Hierarchy
- class \Auth0\Tests\MockApi
- class \Auth0\Tests\API\Authentication\MockAuthenticationApi
Expanded class hierarchy of MockAuthenticationApi
1 file declares its use of MockAuthenticationApi
- InformationHeadersExtendTest.php in vendor/
auth0/ auth0-php/ tests/ API/ Helpers/ InformationHeadersExtendTest.php
File
- vendor/
auth0/ auth0-php/ tests/ API/ Authentication/ MockAuthenticationApi.php, line 12
Namespace
Auth0\Tests\API\AuthenticationView source
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);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MockApi:: |
protected | property | History index to use. | |
MockApi:: |
protected | property | Guzzle request history container for mock API. | |
MockApi:: |
public | function | Return the endpoint being used. | |
MockApi:: |
protected | function | Get a Guzzle history record from an array populated by Middleware::history(). | |
MockApi:: |
public | function | Get the body from a mocked request. | |
MockApi:: |
public | function | Get the form body from a mocked request. | |
MockApi:: |
public | function | Get the headers from a mocked request. | |
MockApi:: |
public | function | Get the HTTP method from a mocked request. | |
MockApi:: |
public | function | Get the URL query from a mocked request. | |
MockApi:: |
public | function | Get the URL from a mocked request. | |
MockApi:: |
public | function | MockApi constructor. | |
MockAuthenticationApi:: |
protected | property |
Overrides MockApi:: |
|
MockAuthenticationApi:: |
public | function |
Overrides MockApi:: |