production/vendor/aws/aws-sdk-php/src/Token/RefreshableTokenProviderInterface.php
2025-12-01 16:12:12 +00:00

24 lines
423 B
PHP
Executable File

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