Used to share authentication tokens to caller and to AWSCognitoAuthorizationController.
More...
#include <AuthenticationTokens.h>
|
static void | Reflect (AZ::ReflectContext *context) |
|
Used to share authentication tokens to caller and to AWSCognitoAuthorizationController.
◆ AreTokensValid()
bool AWSClientAuth::AuthenticationTokens::AreTokensValid |
( |
| ) |
const |
Compares current time stamp to expired time stamp.
- Returns
- True if current TS less than expiry TS.
◆ GetAccessToken()
AZStd::string AWSClientAuth::AuthenticationTokens::GetAccessToken |
( |
| ) |
const |
- Returns
- Access token from authentication.
◆ GetOpenIdToken()
AZStd::string AWSClientAuth::AuthenticationTokens::GetOpenIdToken |
( |
| ) |
const |
- Returns
- Open id token from authentication.
◆ GetProviderName()
ProviderNameEnum AWSClientAuth::AuthenticationTokens::GetProviderName |
( |
| ) |
const |
- Returns
- Provide name for the tokens.
◆ GetRefreshToken()
AZStd::string AWSClientAuth::AuthenticationTokens::GetRefreshToken |
( |
| ) |
const |
- Returns
- Refresh token from authentication.
◆ GetTokensExpireTimeSeconds()
int AWSClientAuth::AuthenticationTokens::GetTokensExpireTimeSeconds |
( |
| ) |
const |
- Returns
- Expiration time in seconds.
The documentation for this class was generated from the following file:
- Gems/AWSClientAuth/Code/Include/Authentication/AuthenticationTokens.h