libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CognitoIdentityProvider.Types.AuthenticationResultType

Description

 
Synopsis

Documentation

data AuthenticationResultType Source #

The authentication result.

See: newAuthenticationResultType smart constructor.

Constructors

AuthenticationResultType' 

Fields

Instances

Instances details
Eq AuthenticationResultType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.AuthenticationResultType

Show AuthenticationResultType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.AuthenticationResultType

Generic AuthenticationResultType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.AuthenticationResultType

Associated Types

type Rep AuthenticationResultType :: Type -> Type #

NFData AuthenticationResultType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.AuthenticationResultType

Hashable AuthenticationResultType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.AuthenticationResultType

FromJSON AuthenticationResultType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.AuthenticationResultType

type Rep AuthenticationResultType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.AuthenticationResultType

type Rep AuthenticationResultType = D1 ('MetaData "AuthenticationResultType" "Amazonka.CognitoIdentityProvider.Types.AuthenticationResultType" "libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp" 'False) (C1 ('MetaCons "AuthenticationResultType'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "accessToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: (S1 ('MetaSel ('Just "refreshToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "newDeviceMetadata'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NewDeviceMetadataType)))) :*: (S1 ('MetaSel ('Just "expiresIn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "tokenType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "idToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text)))))))

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_expiresIn :: Lens' AuthenticationResultType (Maybe Int) Source #

The expiration period of the authentication result in seconds.