lib/3rdParty/composer/aws/aws-sdk-php/src/Token/RefreshableTokenProviderInterface.php
raw symbols SCIP| 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 | } |