commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
TokenStorage.php
1 <?php
2 
3 declare(strict_types=1);
4 
5 namespace Commercetools\Client;
6 
7 interface TokenStorage
8 {
9  public function getRefreshToken(): ?string;
10 
11  public function getAccessToken(): ?string;
12 
13  public function setRefreshToken(?string $refreshToken): void;
14 
15  public function setAccessToken(?string $accessToken): void;
16 }
setRefreshToken(?string $refreshToken)
setAccessToken(?string $accessToken)