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.RespondToAuthChallenge
Description
Responds to the authentication challenge.
- respondToAuthChallenge :: Text -> ChallengeNameType -> RespondToAuthChallenge
- data RespondToAuthChallenge
- rtacChallengeResponses :: Lens' RespondToAuthChallenge (HashMap Text Text)
- rtacSession :: Lens' RespondToAuthChallenge (Maybe Text)
- rtacClientId :: Lens' RespondToAuthChallenge Text
- rtacChallengeName :: Lens' RespondToAuthChallenge ChallengeNameType
- respondToAuthChallengeResponse :: Int -> RespondToAuthChallengeResponse
- data RespondToAuthChallengeResponse
- rtacrsChallengeName :: Lens' RespondToAuthChallengeResponse (Maybe ChallengeNameType)
- rtacrsChallengeParameters :: Lens' RespondToAuthChallengeResponse (HashMap Text Text)
- rtacrsAuthenticationResult :: Lens' RespondToAuthChallengeResponse (Maybe AuthenticationResultType)
- rtacrsSession :: Lens' RespondToAuthChallengeResponse (Maybe Text)
- rtacrsResponseStatus :: Lens' RespondToAuthChallengeResponse Int
Creating a Request
Arguments
:: Text | |
-> ChallengeNameType | |
-> RespondToAuthChallenge |
Creates a value of RespondToAuthChallenge
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rtacChallengeResponses
- The responses to the authentication challenge.rtacSession
- The session.rtacClientId
- The client ID.rtacChallengeName
- The name of the challenge.
data RespondToAuthChallenge #
The request to respond to an authentication challenge.
See: respondToAuthChallenge
smart constructor.
Instances
Request Lenses
rtacChallengeResponses :: Lens' RespondToAuthChallenge (HashMap Text Text) #
The responses to the authentication challenge.
rtacSession :: Lens' RespondToAuthChallenge (Maybe Text) #
The session.
rtacClientId :: Lens' RespondToAuthChallenge Text #
The client ID.
rtacChallengeName :: Lens' RespondToAuthChallenge ChallengeNameType #
The name of the challenge.
Destructuring the Response
respondToAuthChallengeResponse #
Arguments
:: Int | |
-> RespondToAuthChallengeResponse |
Creates a value of RespondToAuthChallengeResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rtacrsChallengeName
- The challenge name.rtacrsChallengeParameters
- The challenge parameters.rtacrsAuthenticationResult
- The result returned by the server in response to the request to respond to the authentication challenge.rtacrsSession
- The session.rtacrsResponseStatus
- -- | The response status code.
data RespondToAuthChallengeResponse #
The response to respond to the authentication challenge.
See: respondToAuthChallengeResponse
smart constructor.
Response Lenses
rtacrsChallengeName :: Lens' RespondToAuthChallengeResponse (Maybe ChallengeNameType) #
The challenge name.
rtacrsChallengeParameters :: Lens' RespondToAuthChallengeResponse (HashMap Text Text) #
The challenge parameters.
rtacrsAuthenticationResult :: Lens' RespondToAuthChallengeResponse (Maybe AuthenticationResultType) #
The result returned by the server in response to the request to respond to the authentication challenge.
rtacrsSession :: Lens' RespondToAuthChallengeResponse (Maybe Text) #
The session.
rtacrsResponseStatus :: Lens' RespondToAuthChallengeResponse Int #
- - | The response status code.