class ClientTest in Acquia Connector 8
Same name and namespace in other branches
- 8.2 tests/src/Unit/AcquiaConnectorUnitTest.php \Drupal\Tests\acquia_connector\Unit\ClientTest
- 3.x tests/src/Unit/AcquiaConnectorUnitTest.php \Drupal\Tests\acquia_connector\Unit\ClientTest
Hierarchy
- class \Drupal\acquia_connector\Client uses LoggerChannelTrait, MessengerTrait, StringTranslationTrait
- class \Drupal\Tests\acquia_connector\Unit\ClientTest
Expanded class hierarchy of ClientTest
File
- tests/
src/ Unit/ AcquiaConnectorUnitTest.php, line 78 - Contains \Drupal\Tests\acquia_connector\Unit\AcquiaConnectorUnitTest.
Namespace
Drupal\Tests\acquia_connector\UnitView source
class ClientTest extends Client {
/**
* Construction method.
*/
public function __construct() {
}
/**
* {@inheritdoc}
*/
public function buildAuthenticator($key, int $request_time, array $params = []) {
$authenticator = parent::buildAuthenticator($key, $request_time, $params);
return $authenticator;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Client:: |
protected | property | The HTTP client to fetch the feed data with. | |
Client:: |
protected | property | Config Factory Interface. | |
Client:: |
protected | property | The config factory. | |
Client:: |
protected | property | Request headers. | |
Client:: |
protected | property | Acquia SPI server. | |
Client:: |
protected | property | The state service. | |
Client:: |
public | function | Get SPI definition. | |
Client:: |
protected | function | Get a random base 64 encoded string. | |
Client:: |
protected | function | Get information on Acquia Search modules. | |
Client:: |
public | function | Get Acquia subscription from Acquia. | |
Client:: |
public | function | Get account settings to use for creating request authorizations. | |
Client:: |
protected | function | Calculates a HMAC-SHA1 according to RFC2104. | |
Client:: |
public | function | Prepare and send a REST request to Acquia with an authenticator. | |
Client:: |
protected | function | Create and send a request. | |
Client:: |
public | function | Get Acquia subscription from Acquia. | |
Client:: |
protected | function | Validate the response authenticator. | |
ClientTest:: |
public | function |
Build authenticator to sign requests to the Acquia. Overrides Client:: |
|
ClientTest:: |
public | function |
Construction method. Overrides Client:: |
|
LoggerChannelTrait:: |
protected | property | The logger channel factory service. | |
LoggerChannelTrait:: |
protected | function | Gets the logger for a specific channel. | |
LoggerChannelTrait:: |
public | function | Injects the logger channel factory. | |
MessengerTrait:: |
protected | property | The messenger. | 29 |
MessengerTrait:: |
public | function | Gets the messenger. | 29 |
MessengerTrait:: |
public | function | Sets the messenger. | |
StringTranslationTrait:: |
protected | property | The string translation service. | 1 |
StringTranslationTrait:: |
protected | function | Formats a string containing a count of items. | |
StringTranslationTrait:: |
protected | function | Returns the number of plurals supported by a given language. | |
StringTranslationTrait:: |
protected | function | Gets the string translation service. | |
StringTranslationTrait:: |
public | function | Sets the string translation service to use. | 2 |
StringTranslationTrait:: |
protected | function | Translates a string to the current language or to a given language. |