Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data AuthenticationResultType = AuthenticationResultType' {}
- newAuthenticationResultType :: AuthenticationResultType
- authenticationResultType_accessToken :: Lens' AuthenticationResultType (Maybe Text)
- authenticationResultType_refreshToken :: Lens' AuthenticationResultType (Maybe Text)
- authenticationResultType_newDeviceMetadata :: Lens' AuthenticationResultType (Maybe NewDeviceMetadataType)
- authenticationResultType_expiresIn :: Lens' AuthenticationResultType (Maybe Int)
- authenticationResultType_tokenType :: Lens' AuthenticationResultType (Maybe Text)
- authenticationResultType_idToken :: Lens' AuthenticationResultType (Maybe Text)
Documentation
data AuthenticationResultType Source #
The authentication result.
See: newAuthenticationResultType
smart constructor.
AuthenticationResultType' | |
|
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
- The access token.
$sel:refreshToken:AuthenticationResultType'
, authenticationResultType_refreshToken
- The refresh token.
$sel:newDeviceMetadata':AuthenticationResultType'
, authenticationResultType_newDeviceMetadata
- The new device metadata from an authentication result.
$sel:expiresIn:AuthenticationResultType'
, authenticationResultType_expiresIn
- The expiration period of the authentication result in seconds.
$sel:tokenType:AuthenticationResultType'
, authenticationResultType_tokenType
- The token type.
$sel:idToken:AuthenticationResultType'
, authenticationResultType_idToken
- The ID token.
authenticationResultType_accessToken :: Lens' AuthenticationResultType (Maybe Text) Source #
The access token.
authenticationResultType_refreshToken :: Lens' AuthenticationResultType (Maybe Text) Source #
The refresh token.
authenticationResultType_newDeviceMetadata :: Lens' AuthenticationResultType (Maybe NewDeviceMetadataType) Source #
The new device metadata from an authentication result.
authenticationResultType_expiresIn :: Lens' AuthenticationResultType (Maybe Int) Source #
The expiration period of the authentication result in seconds.
authenticationResultType_tokenType :: Lens' AuthenticationResultType (Maybe Text) Source #
The token type.
authenticationResultType_idToken :: Lens' AuthenticationResultType (Maybe Text) Source #
The ID token.