| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.CognitoIdentityProvider.InitiateAuth
Description
Initiates the authentication flow.
- initiateAuth :: AuthFlowType -> Text -> InitiateAuth
- data InitiateAuth
- iaClientMetadata :: Lens' InitiateAuth (HashMap Text Text)
- iaAuthParameters :: Lens' InitiateAuth (HashMap Text Text)
- iaAuthFlow :: Lens' InitiateAuth AuthFlowType
- iaClientId :: Lens' InitiateAuth Text
- initiateAuthResponse :: Int -> InitiateAuthResponse
- data InitiateAuthResponse
- iarsChallengeName :: Lens' InitiateAuthResponse (Maybe ChallengeNameType)
- iarsChallengeParameters :: Lens' InitiateAuthResponse (HashMap Text Text)
- iarsAuthenticationResult :: Lens' InitiateAuthResponse (Maybe AuthenticationResultType)
- iarsSession :: Lens' InitiateAuthResponse (Maybe Text)
- iarsResponseStatus :: Lens' InitiateAuthResponse Int
Creating a Request
Arguments
| :: AuthFlowType | |
| -> Text | |
| -> InitiateAuth |
Creates a value of InitiateAuth with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data InitiateAuth Source #
Initiates the authentication request.
See: initiateAuth smart constructor.
Instances
Request Lenses
iaClientMetadata :: Lens' InitiateAuth (HashMap Text Text) Source #
The client app's metadata.
iaAuthParameters :: Lens' InitiateAuth (HashMap Text Text) Source #
The authentication parameters.
iaAuthFlow :: Lens' InitiateAuth AuthFlowType Source #
The authentication flow.
iaClientId :: Lens' InitiateAuth Text Source #
The client ID.
Destructuring the Response
Arguments
| :: Int | |
| -> InitiateAuthResponse |
Creates a value of InitiateAuthResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data InitiateAuthResponse Source #
Initiates the authentication response.
See: initiateAuthResponse smart constructor.
Response Lenses
iarsChallengeName :: Lens' InitiateAuthResponse (Maybe ChallengeNameType) Source #
The name of the challenge.
iarsChallengeParameters :: Lens' InitiateAuthResponse (HashMap Text Text) Source #
The challenge parameters.
iarsAuthenticationResult :: Lens' InitiateAuthResponse (Maybe AuthenticationResultType) Source #
Undocumented member.
iarsSession :: Lens' InitiateAuthResponse (Maybe Text) Source #
The session.
iarsResponseStatus :: Lens' InitiateAuthResponse Int Source #
The response status code.