private function AuthTokenProvider::authenticate in TMGMT Translator Smartling 8.2
Same name in this branch
- 8.2 api-sdk-php/src/AuthApi/AuthTokenProvider.php \Smartling\AuthApi\AuthTokenProvider::authenticate()
- 8.2 vendor/smartling/api-sdk-php/src/AuthApi/AuthTokenProvider.php \Smartling\AuthApi\AuthTokenProvider::authenticate()
Same name and namespace in other branches
- 8.4 vendor/smartling/api-sdk-php/src/AuthApi/AuthTokenProvider.php \Smartling\AuthApi\AuthTokenProvider::authenticate()
- 8.3 vendor/smartling/api-sdk-php/src/AuthApi/AuthTokenProvider.php \Smartling\AuthApi\AuthTokenProvider::authenticate()
Sends /authenticate request
4 calls to AuthTokenProvider::authenticate()
- AuthTokenProvider::getAccessToken in api-sdk-php/
src/ AuthApi/ AuthTokenProvider.php - @inheritdoc
- AuthTokenProvider::getAccessToken in vendor/
smartling/ api-sdk-php/ src/ AuthApi/ AuthTokenProvider.php - @inheritdoc
- AuthTokenProvider::tokenRenew in api-sdk-php/
src/ AuthApi/ AuthTokenProvider.php - Renews tokens
- AuthTokenProvider::tokenRenew in vendor/
smartling/ api-sdk-php/ src/ AuthApi/ AuthTokenProvider.php - Renews tokens
File
- vendor/
smartling/ api-sdk-php/ src/ AuthApi/ AuthTokenProvider.php, line 128
Class
- AuthTokenProvider
- Class AuthTokenProvider @package Smartling\AuthApi
Namespace
Smartling\AuthApiCode
private function authenticate() {
$this->requestTimestamp = time();
$requestData = $this
->getDefaultRequestData('json', [
'userIdentifier' => $this
->getUserIdentifier(),
'userSecret' => $this
->getSecretKey(),
], false);
return $this
->sendRequest('authenticate', $requestData, self::HTTP_METHOD_POST);
}