diff options
Diffstat (limited to 'vendor/aws/aws-sdk-php/src/Token/RefreshableTokenProviderInterface.php')
-rw-r--r-- | vendor/aws/aws-sdk-php/src/Token/RefreshableTokenProviderInterface.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/vendor/aws/aws-sdk-php/src/Token/RefreshableTokenProviderInterface.php b/vendor/aws/aws-sdk-php/src/Token/RefreshableTokenProviderInterface.php new file mode 100644 index 0000000..4c88f3f --- /dev/null +++ b/vendor/aws/aws-sdk-php/src/Token/RefreshableTokenProviderInterface.php @@ -0,0 +1,23 @@ +<?php +namespace Aws\Token; + +/** + * Provides access to an AWS token used for accessing AWS services + * + */ +interface RefreshableTokenProviderInterface +{ + /** + * Attempts to refresh this token object + * + * @return Token | Exception + */ + public function refresh(); + + /** + * Check if a refresh should be attempted + * + * @return boolean + */ + public function shouldAttemptRefresh(); +} |