Open 3D Engine AWSClientAuth Gem API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
Implements OAuth2.0 device flow for Login with Amazon authentication service. More...
#include <LWAAuthenticationProvider.h>
Inherits AWSClientAuth::AuthenticationProviderInterface.
Public Member Functions | |
bool | Initialize () override |
void | PasswordGrantSingleFactorSignInAsync (const AZStd::string &username, const AZStd::string &password) override |
void | PasswordGrantMultiFactorSignInAsync (const AZStd::string &username, const AZStd::string &password) override |
void | PasswordGrantMultiFactorConfirmSignInAsync (const AZStd::string &username, const AZStd::string &confirmationCode) override |
void | DeviceCodeGrantSignInAsync () override |
Call code-pair endpoint for provider device grant flow. | |
void | DeviceCodeGrantConfirmSignInAsync () override |
Call tokens endpoint for provider device grant flow. | |
void | RefreshTokensAsync () override |
Call refresh endpoint for provider refresh grant flow. | |
Public Member Functions inherited from AWSClientAuth::AuthenticationProviderInterface | |
virtual AuthenticationTokens | GetAuthenticationTokens () |
virtual void | SignOut () |
Clears all cached tokens and expiry. | |
Protected Attributes | |
AZStd::unique_ptr< LWAProviderSetting > | m_settings |
Protected Attributes inherited from AWSClientAuth::AuthenticationProviderInterface | |
AuthenticationTokens | m_authenticationTokens |
Implements OAuth2.0 device flow for Login with Amazon authentication service.
|
overridevirtual |
Extract required settings for the provider from setting registry.
Implements AWSClientAuth::AuthenticationProviderInterface.
|
overridevirtual |
Call confirm endpoint for provider password grant multi factor authentication flow .
username | Username to use for MFA confirm. |
confirmationCode | Confirmation code (sent to email/text) to use for MFA confirm. |
Implements AWSClientAuth::AuthenticationProviderInterface.
|
overridevirtual |
Call sign in endpoint for provider password grant multi factor authentication flow.
username | Username to use for MFA sign in. |
password | Password to use for MFA sign in. |
Implements AWSClientAuth::AuthenticationProviderInterface.
|
overridevirtual |
Call sign in endpoint for provider password grant flow.
username | Username to use to for sign in. |
password | Password to use to for sign in. |
Implements AWSClientAuth::AuthenticationProviderInterface.