Open 3D Engine AWSClientAuth Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AWSClientAuth::AWSCognitoAuthorizationController Class Reference

Implements AWS Cognito Identity pool authorization. More...

#include <AWSCognitoAuthorizationController.h>

Inherits AWSCognitoAuthorizationRequestBus::Handler, AuthenticationProviderNotificationBus::Handler, and AWSCore::AWSCredentialRequestBus::Handler.

Public Member Functions

 AZ_RTTI (AWSCognitoAuthorizationController, "{0E731ED1-2F08-4B3C-9282-D452700F58D1}", IAWSCognitoAuthorizationRequests)
 
bool Initialize () override
 
void Reset () override
 
AZStd::string GetIdentityId () override
 
bool HasPersistedLogins () override
 
std::shared_ptr< Aws::Auth::AWSCredentialsProvider > GetCognitoCredentialsProvider () override
 
std::shared_ptr< Aws::Auth::AWSCredentialsProvider > GetAnonymousCognitoCredentialsProvider () override
 
void RequestAWSCredentialsAsync () override
 

Protected Member Functions

void OnPasswordGrantSingleFactorSignInSuccess (const AWSClientAuth::AuthenticationTokens &authenticationTokens) override
 
void OnPasswordGrantMultiFactorConfirmSignInSuccess (const AWSClientAuth::AuthenticationTokens &authenticationTokens) override
 
void OnDeviceCodeGrantConfirmSignInSuccess (const AWSClientAuth::AuthenticationTokens &authenticationTokens) override
 
void OnRefreshTokensSuccess (const AWSClientAuth::AuthenticationTokens &authenticationTokens) override
 
void OnSignOut (const ProviderNameEnum &provideName) override
 
int GetCredentialHandlerOrder () const override
 
std::shared_ptr< Aws::Auth::AWSCredentialsProvider > GetCredentialsProvider () override
 

Protected Attributes

std::shared_ptr< AWSClientAuthPersistentCognitoIdentityProviderm_persistentCognitoIdentityProvider
 
std::shared_ptr< AWSClientAuthPersistentCognitoIdentityProviderm_persistentAnonymousCognitoIdentityProvider
 
std::shared_ptr< AWSClientAuthCognitoCachingAuthenticatedCredentialsProviderm_cognitoCachingCredentialsProvider
 
std::shared_ptr< AWSClientAuthCachingAnonymousCredsProviderm_cognitoCachingAnonymousCredentialsProvider
 
AZStd::string m_cognitoIdentityPoolId
 
AZStd::string m_formattedCognitoUserPoolId
 
AZStd::string m_awsAccountId
 

Detailed Description

Implements AWS Cognito Identity pool authorization.


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