public static function AuthTokenProvider::create 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::create()
- 8.2 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
17 calls to AuthTokenProvider::create()
- audit-log-example.php in vendor/
smartling/ api-sdk-php/ examples/ audit-log-example.php - AuditLogApiFunctionalTest::setUp in vendor/
smartling/ api-sdk-php/ tests/ functional/ AuditLogApiFunctionalTest.php - batch-example.php in vendor/
smartling/ api-sdk-php/ examples/ batch-example.php - context-example.php in vendor/
smartling/ api-sdk-php/ examples/ context-example.php - ContextApiFunctionalTest::setUp in vendor/
smartling/ api-sdk-php/ tests/ functional/ ContextApiFunctionalTest.php - Test mixture.
File
- vendor/
smartling/ api-sdk-php/ src/ AuthApi/ AuthTokenProvider.php, line 103
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);
}