Class AbstractRefreshableCredentials
Abstract decorator to provide a foundation for refreshable credentials
- Aws\Common\Credentials\AbstractCredentialsDecorator implements Aws\Common\Credentials\CredentialsInterface
-
Aws\Common\Credentials\AbstractRefreshableCredentials
Direct known subclasses
Aws\Common\Credentials\CacheableCredentials,
Aws\Common\Credentials\RefreshableInstanceProfileCredentials
Namespace: Aws\Common\Credentials
Located at Aws/Common/Credentials/AbstractRefreshableCredentials.php
Methods summary
-
publicgetCredentials ( )Get the underlying credentials, refreshing if necessary.
-
publicgetAccessKeyId ( )Returns the AWS access key ID for this credentials object.
-
publicgetSecretKey ( )Returns the AWS secret access key for this credentials object.
-
publicgetSecurityToken ( )Get the associated security token if available
-
publicserialize ( ) -
abstract protectedrefresh ( )Attempt to get new credentials
Methods detail
Returns the AWS access key ID for this credentials object.
Returns
stringOverrides
Returns the AWS secret access key for this credentials object.
Returns
stringOverrides
Get the associated security token if available
Returns
string|nullOverrides
Attempt to get new credentials
Methods inherited from Aws\Common\Credentials\AbstractCredentialsDecorator
__construct(),
getExpiration(),
isExpired(),
setAccessKeyId(),
setExpiration(),
setSecretKey(),
setSecurityToken(),
unserialize()