updated-packages
This commit is contained in:
23
vendor/aws/aws-sdk-php/src/Token/RefreshableTokenProviderInterface.php
vendored
Normal file
23
vendor/aws/aws-sdk-php/src/Token/RefreshableTokenProviderInterface.php
vendored
Normal file
@@ -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();
|
||||
}
|
||||
Reference in New Issue
Block a user