All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 3m3s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 16s
Build, Push and Deploy / deploy-staging (push) Successful in 32s
Build, Push and Deploy / deploy-production (push) Has been skipped
Build, Push and Deploy / cleanup (push) Successful in 1s
24 lines
423 B
PHP
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();
|
|
}
|