BearerTokenAuthorization.php
11 months ago
ParsesIniTrait.php
11 months ago
RefreshableTokenProviderInterface.php
11 months ago
SsoToken.php
11 months ago
SsoTokenProvider.php
11 months ago
Token.php
11 months ago
TokenAuthorization.php
11 months ago
TokenInterface.php
11 months ago
TokenProvider.php
11 months ago
RefreshableTokenProviderInterface.php
24 lines
| 1 | <?php |
| 2 | namespace Aws\Token; |
| 3 | |
| 4 | /** |
| 5 | * Provides access to an AWS token used for accessing AWS services |
| 6 | * |
| 7 | */ |
| 8 | interface RefreshableTokenProviderInterface |
| 9 | { |
| 10 | /** |
| 11 | * Attempts to refresh this token object |
| 12 | * |
| 13 | * @return Token | Exception |
| 14 | */ |
| 15 | public function refresh(); |
| 16 | |
| 17 | /** |
| 18 | * Check if a refresh should be attempted |
| 19 | * |
| 20 | * @return boolean |
| 21 | */ |
| 22 | public function shouldAttemptRefresh(); |
| 23 | } |
| 24 |