public static function AuthTokenProvider::create in TMGMT Translator Smartling 8.2
Same name in this branch
- 8.2 api-sdk-php/src/AuthApi/AuthTokenProvider.php \Smartling\AuthApi\AuthTokenProvider::create()
- 8.2 vendor/smartling/api-sdk-php/src/AuthApi/AuthTokenProvider.php \Smartling\AuthApi\AuthTokenProvider::create()
Same name and namespace in other branches
- 8.4 vendor/smartling/api-sdk-php/src/AuthApi/AuthTokenProvider.php \Smartling\AuthApi\AuthTokenProvider::create()
- 8.3 vendor/smartling/api-sdk-php/src/AuthApi/AuthTokenProvider.php \Smartling\AuthApi\AuthTokenProvider::create()
Creates and returns instance of AuthTokenProvider
Parameters
string $userIdentifier:
string $secretKey:
LoggerInterface $logger:
Return value
15 calls to AuthTokenProvider::create()
- context-example.php in api-sdk-php/
examples/ context-example.php - context-example.php in vendor/
smartling/ api-sdk-php/ examples/ context-example.php - ContextApiFunctionalTest::setUp in api-sdk-php/
tests/ functional/ ContextApiFunctionalTest.php - Test mixture.
- ContextApiFunctionalTest::setUp in vendor/
smartling/ api-sdk-php/ tests/ functional/ ContextApiFunctionalTest.php - Test mixture.
- FileApiFunctionalTest::setUp in api-sdk-php/
tests/ functional/ FileApiFunctionalTest.php - Test mixture.
File
- vendor/
smartling/ api-sdk-php/ src/ AuthApi/ AuthTokenProvider.php, line 101
Class
- AuthTokenProvider
- Class AuthTokenProvider @package Smartling\AuthApi
Namespace
Smartling\AuthApiCode
public static function create($userIdentifier, $secretKey, $logger = null) {
$client = self::initializeHttpClient(self::ENDPOINT_URL);
return new self($userIdentifier, $secretKey, $client, $logger);
}