Implements OAuth2.0 device flow for Login with Amazon authentication service.
More...
#include <LWAAuthenticationProvider.h>
Inherits AWSClientAuth::AuthenticationProviderInterface.
Implements OAuth2.0 device flow for Login with Amazon authentication service.
◆ DeviceCodeGrantConfirmSignInAsync()
void AWSClientAuth::LWAAuthenticationProvider::DeviceCodeGrantConfirmSignInAsync |
( |
| ) |
|
|
overridevirtual |
◆ DeviceCodeGrantSignInAsync()
void AWSClientAuth::LWAAuthenticationProvider::DeviceCodeGrantSignInAsync |
( |
| ) |
|
|
overridevirtual |
◆ Initialize()
bool AWSClientAuth::LWAAuthenticationProvider::Initialize |
( |
| ) |
|
|
overridevirtual |
Extract required settings for the provider from setting registry.
- Returns
- bool True: if provider can parse required settings and validate. False: fails to parse required settings.
Implements AWSClientAuth::AuthenticationProviderInterface.
◆ PasswordGrantMultiFactorConfirmSignInAsync()
void AWSClientAuth::LWAAuthenticationProvider::PasswordGrantMultiFactorConfirmSignInAsync |
( |
const AZStd::string & |
username, |
|
|
const AZStd::string & |
confirmationCode |
|
) |
| |
|
overridevirtual |
Call confirm endpoint for provider password grant multi factor authentication flow .
- Parameters
-
username | Username to use for MFA confirm. |
confirmationCode | Confirmation code (sent to email/text) to use for MFA confirm. |
Implements AWSClientAuth::AuthenticationProviderInterface.
◆ PasswordGrantMultiFactorSignInAsync()
void AWSClientAuth::LWAAuthenticationProvider::PasswordGrantMultiFactorSignInAsync |
( |
const AZStd::string & |
username, |
|
|
const AZStd::string & |
password |
|
) |
| |
|
overridevirtual |
Call sign in endpoint for provider password grant multi factor authentication flow.
- Parameters
-
username | Username to use for MFA sign in. |
password | Password to use for MFA sign in. |
Implements AWSClientAuth::AuthenticationProviderInterface.
◆ PasswordGrantSingleFactorSignInAsync()
void AWSClientAuth::LWAAuthenticationProvider::PasswordGrantSingleFactorSignInAsync |
( |
const AZStd::string & |
username, |
|
|
const AZStd::string & |
password |
|
) |
| |
|
overridevirtual |
◆ RefreshTokensAsync()
void AWSClientAuth::LWAAuthenticationProvider::RefreshTokensAsync |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following file:
- Gems/AWSClientAuth/Code/Source/Authentication/LWAAuthenticationProvider.h