amazonka-cognito-idp-2.0: Amazon Cognito Identity Provider SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CognitoIdentityProvider.Types.AuthenticationResultType

Description

 
Synopsis

Documentation

data AuthenticationResultType Source #

The authentication result.

See: newAuthenticationResultType smart constructor.

Constructors

AuthenticationResultType' 

Fields

Instances

Instances details
FromJSON 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 #

Show AuthenticationResultType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.AuthenticationResultType

NFData AuthenticationResultType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.AuthenticationResultType

Eq AuthenticationResultType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.AuthenticationResultType

Hashable 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" "amazonka-cognito-idp-2.0-D1ERgMvEVPG9z8cOLXdU2" 'False) (C1 ('MetaCons "AuthenticationResultType'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "accessToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: (S1 ('MetaSel ('Just "expiresIn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "idToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))))) :*: (S1 ('MetaSel ('Just "newDeviceMetadata'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NewDeviceMetadataType)) :*: (S1 ('MetaSel ('Just "refreshToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "tokenType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe 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 - 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.