AWS SDK for C++  1.8.59
AWS SDK for C++
Public Member Functions | Protected Member Functions | List of all members
Aws::Auth::CognitoCachingAuthenticatedCredentialsProvider Class Reference

#include <CognitoCachingCredentialsProvider.h>

+ Inheritance diagram for Aws::Auth::CognitoCachingAuthenticatedCredentialsProvider:

Public Member Functions

 CognitoCachingAuthenticatedCredentialsProvider (const std::shared_ptr< PersistentCognitoIdentityProvider > &identityRepository, const std::shared_ptr< CognitoIdentity::CognitoIdentityClient > &cognitoIdentityClient=nullptr)
 
- Public Member Functions inherited from Aws::Auth::CognitoCachingCredentialsProvider
AWSCredentials GetAWSCredentials () override
 
- Public Member Functions inherited from Aws::Auth::AWSCredentialsProvider
 AWSCredentialsProvider ()
 
virtual ~AWSCredentialsProvider ()=default
 

Protected Member Functions

CognitoIdentity::Model::GetCredentialsForIdentityOutcome GetCredentialsFromCognito () const override
 
- Protected Member Functions inherited from Aws::Auth::CognitoCachingCredentialsProvider
 CognitoCachingCredentialsProvider (const std::shared_ptr< PersistentCognitoIdentityProvider > &m_identityRepository, const std::shared_ptr< CognitoIdentity::CognitoIdentityClient > &cognitoIdentityClient=nullptr)
 
bool IsTimeExpired (double expiry)
 
- Protected Member Functions inherited from Aws::Auth::AWSCredentialsProvider
virtual bool IsTimeToRefresh (long reloadFrequency)
 
virtual void Reload ()
 

Additional Inherited Members

- Protected Attributes inherited from Aws::Auth::CognitoCachingCredentialsProvider
std::shared_ptr< CognitoIdentity::CognitoIdentityClientm_cognitoIdentityClient
 
std::shared_ptr< PersistentCognitoIdentityProviderm_identityRepository
 
- Protected Attributes inherited from Aws::Auth::AWSCredentialsProvider
Aws::Utils::Threading::ReaderWriterLock m_reloadLock
 

Detailed Description

Uses cognito authenticated process to get credentials for a given identity pool using a list of open ids and auth providers to authenticate the user. Use this if you have an open id to identify the user.

Definition at line 77 of file CognitoCachingCredentialsProvider.h.

Constructor & Destructor Documentation

◆ CognitoCachingAuthenticatedCredentialsProvider()

Aws::Auth::CognitoCachingAuthenticatedCredentialsProvider::CognitoCachingAuthenticatedCredentialsProvider ( const std::shared_ptr< PersistentCognitoIdentityProvider > &  identityRepository,
const std::shared_ptr< CognitoIdentity::CognitoIdentityClient > &  cognitoIdentityClient = nullptr 
)

PersistentCognitoIdentityProvider is responsible for storing and retrieving cognito-identity information from memory or file system.

Member Function Documentation

◆ GetCredentialsFromCognito()

CognitoIdentity::Model::GetCredentialsForIdentityOutcome Aws::Auth::CognitoCachingAuthenticatedCredentialsProvider::GetCredentialsFromCognito ( ) const
overrideprotectedvirtual

The documentation for this class was generated from the following file: