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< AWSClientAuthPersistentCognitoIdentityProvider > | m_persistentCognitoIdentityProvider |
std::shared_ptr< AWSClientAuthPersistentCognitoIdentityProvider > | m_persistentAnonymousCognitoIdentityProvider |
std::shared_ptr< AWSClientAuthCognitoCachingAuthenticatedCredentialsProvider > | m_cognitoCachingCredentialsProvider |
std::shared_ptr< AWSClientAuthCachingAnonymousCredsProvider > | m_cognitoCachingAnonymousCredentialsProvider |
AZStd::string | m_cognitoIdentityPoolId |
AZStd::string | m_formattedCognitoUserPoolId |
AZStd::string | m_awsAccountId |
Implements AWS Cognito Identity pool authorization.