public function AuthTokenProvider::__construct in TMGMT Translator Smartling 8.4
Same name and namespace in other branches
- 8.2 api-sdk-php/src/AuthApi/AuthTokenProvider.php \Smartling\AuthApi\AuthTokenProvider::__construct()
- 8.2 vendor/smartling/api-sdk-php/src/AuthApi/AuthTokenProvider.php \Smartling\AuthApi\AuthTokenProvider::__construct()
- 8.3 vendor/smartling/api-sdk-php/src/AuthApi/AuthTokenProvider.php \Smartling\AuthApi\AuthTokenProvider::__construct()
AuthTokenProvider constructor.
Parameters
string $userIdentifier:
string $secretKey:
ClientInterface $client:
LoggerInterface $logger:
Overrides BaseApiAbstract::__construct
File
- vendor/
smartling/ api-sdk-php/ src/ AuthApi/ AuthTokenProvider.php, line 86
Class
- AuthTokenProvider
- Class AuthTokenProvider @package Smartling\AuthApi
Namespace
Smartling\AuthApiCode
public function __construct($userIdentifier, $secretKey, ClientInterface $client, $logger = null) {
parent::__construct('', $client, $logger, self::ENDPOINT_URL);
$this
->setUserIdentifier($userIdentifier);
$this
->setSecretKey($secretKey);
}