| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CognitoIdentityProvider.Types.AuthenticationResultType
Description
Synopsis
- data AuthenticationResultType = AuthenticationResultType' {}
- newAuthenticationResultType :: AuthenticationResultType
- authenticationResultType_accessToken :: Lens' AuthenticationResultType (Maybe Text)
- authenticationResultType_expiresIn :: Lens' AuthenticationResultType (Maybe Int)
- authenticationResultType_idToken :: Lens' AuthenticationResultType (Maybe Text)
- authenticationResultType_newDeviceMetadata :: Lens' AuthenticationResultType (Maybe NewDeviceMetadataType)
- authenticationResultType_refreshToken :: Lens' AuthenticationResultType (Maybe Text)
- authenticationResultType_tokenType :: Lens' AuthenticationResultType (Maybe Text)
Documentation
data AuthenticationResultType Source #
The authentication result.
See: newAuthenticationResultType smart constructor.
Constructors
| AuthenticationResultType' | |
Fields
| |
Instances
newAuthenticationResultType :: AuthenticationResultType Source #
Create a value of AuthenticationResultType with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:accessToken:AuthenticationResultType', authenticationResultType_accessToken - A valid access token that Amazon Cognito issued to the user who you want
to authenticate.
$sel:expiresIn:AuthenticationResultType', authenticationResultType_expiresIn - The expiration period of the authentication result in seconds.
$sel:idToken:AuthenticationResultType', authenticationResultType_idToken - The ID token.
$sel:newDeviceMetadata':AuthenticationResultType', authenticationResultType_newDeviceMetadata - The new device metadata from an authentication result.
$sel:refreshToken:AuthenticationResultType', authenticationResultType_refreshToken - The refresh token.
$sel:tokenType:AuthenticationResultType', authenticationResultType_tokenType - The token type.
authenticationResultType_accessToken :: Lens' AuthenticationResultType (Maybe Text) Source #
A valid access token that Amazon Cognito issued to the user who you want to authenticate.
authenticationResultType_expiresIn :: Lens' AuthenticationResultType (Maybe Int) Source #
The expiration period of the authentication result in seconds.
authenticationResultType_idToken :: Lens' AuthenticationResultType (Maybe Text) Source #
The ID token.
authenticationResultType_newDeviceMetadata :: Lens' AuthenticationResultType (Maybe NewDeviceMetadataType) Source #
The new device metadata from an authentication result.
authenticationResultType_refreshToken :: Lens' AuthenticationResultType (Maybe Text) Source #
The refresh token.
authenticationResultType_tokenType :: Lens' AuthenticationResultType (Maybe Text) Source #
The token type.