Files
faveo/vendor/aws/aws-sdk-php/src/Token/RefreshableTokenProviderInterface.php
RafficMohammed da241bacb6 updated-packages
2023-01-08 00:13:22 +05:30

24 lines
423 B
PHP

<?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();
}