AWS SDK for C++AWS SDK for C++ Version 1.11.788 |
#include <AWSCredentialsProvider.h>
Abstract class for retrieving AWS credentials. Create a derived class from this to allow various methods of storing and retrieving credentials. Examples would be cognito-identity, some encrypted store etc...
Definition at line 58 of file AWSCredentialsProvider.h.
Initializes provider. Sets last Loaded time count to 0, forcing a refresh on the first call to GetAWSCredentials.
Definition at line 65 of file AWSCredentialsProvider.h.
The core of the credential provider interface. Override this method to control how credentials are retrieved.
Implemented in Aws::Auth::AnonymousAWSCredentialsProvider, Aws::Auth::SimpleAWSCredentialsProvider, Aws::Auth::EnvironmentAWSCredentialsProvider, Aws::Auth::ProfileConfigFileAWSCredentialsProvider, Aws::Auth::InstanceProfileCredentialsProvider, Aws::Auth::ProcessCredentialsProvider, Aws::Auth::AWSCredentialsProviderChain, Aws::Auth::CrtCredentialsProvider, Aws::Auth::GeneralHTTPCredentialsProvider, Aws::Auth::ProfileCredentialsProvider, and Aws::Auth::SSOCredentialsProvider.
The default implementation keeps up with the cache times and lets you know if it's time to refresh your internal caching to aid your implementation of GetAWSCredentials.
Definition at line 83 of file AWSCredentialsProvider.h.