| 1 | <?php | ||
| 7 | class ZohoAccessToken extends AccessToken | ||
| 8 | { | ||
| 9 | /** | ||
| 10 | * @var string | ||
| 11 | */ | ||
| 12 | protected $apiDomain; | ||
| 13 | |||
| 14 | /** | ||
| 15 | * @var string | ||
| 16 | */ | ||
| 17 | protected $tokenType; | ||
| 18 | /** | ||
| 19 | * api_domain and token type will get everytime | ||
| 20 | */ | ||
| 21 | public function __construct(array $options = []) | ||
| 33 | |||
| 34 | /** | ||
| 35 | * Zoho API domain name | ||
| 36 | * @return string | ||
| 37 | */ | ||
| 38 | public function getApiDomain() | ||
| 42 | |||
| 43 | /** | ||
| 44 | * Oauth2 Bearer Toekn type | ||
| 45 | * @return string | ||
| 46 | */ | ||
| 47 | public function getTokenType() | ||
| 51 | } | ||
| 52 |