CachedCredentialProvider class
Utility class for caching credentials from a credential provider, with built in support for refreshing when expired.
Constructors
- CachedCredentialProvider(AwsClientCredentialsProvider credentialsProvider)
Properties
- credentialsProvider → AwsClientCredentialsProvider
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- previousCreds ↔ AwsClientCredentials?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cacheAndRefreshWhenNeeded(
{Client? client}) → Future< AwsClientCredentials?> - Pass as tearoff to an "aws_xxx_api" constructor. Example:
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited