Files
Testing/include/aws/old/Token/RefreshableTokenProviderInterface.php

24 lines
423 B
PHP
Raw Permalink Normal View History

2026-11-17 16:15:01 -05:00
<?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();
}