You are here

public function AuthTokenProvider::getTokenType in TMGMT Translator Smartling 8.3

Same name and namespace in other branches
  1. 8.4 vendor/smartling/api-sdk-php/src/AuthApi/AuthTokenProvider.php \Smartling\AuthApi\AuthTokenProvider::getTokenType()
  2. 8.2 api-sdk-php/src/AuthApi/AuthTokenProvider.php \Smartling\AuthApi\AuthTokenProvider::getTokenType()
  3. 8.2 vendor/smartling/api-sdk-php/src/AuthApi/AuthTokenProvider.php \Smartling\AuthApi\AuthTokenProvider::getTokenType()

@inheritdoc

Overrides AuthApiInterface::getTokenType

File

vendor/smartling/api-sdk-php/src/AuthApi/AuthTokenProvider.php, line 186

Class

AuthTokenProvider
Class AuthTokenProvider @package Smartling\AuthApi

Namespace

Smartling\AuthApi

Code

public function getTokenType() {
  return $this
    ->tokenExists() ? $this->data[self::RESPONSE_KEY_TOKEN_TYPE] : '';
}