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 |
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
respondToAuthChallenge Source #
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 Source #
The request to respond to an authentication challenge.
See: respondToAuthChallenge
smart constructor.
Request Lenses
rtacChallengeResponses :: Lens' RespondToAuthChallenge (HashMap Text Text) Source #
The responses to the authentication challenge.
rtacSession :: Lens' RespondToAuthChallenge (Maybe Text) Source #
The session.
rtacClientId :: Lens' RespondToAuthChallenge Text Source #
The client ID.
rtacChallengeName :: Lens' RespondToAuthChallenge ChallengeNameType Source #
The name of the challenge.
Destructuring the Response
respondToAuthChallengeResponse Source #
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 Source #
The response to respond to the authentication challenge.
See: respondToAuthChallengeResponse
smart constructor.
Response Lenses
rtacrsChallengeName :: Lens' RespondToAuthChallengeResponse (Maybe ChallengeNameType) Source #
The challenge name.
rtacrsChallengeParameters :: Lens' RespondToAuthChallengeResponse (HashMap Text Text) Source #
The challenge parameters.
rtacrsAuthenticationResult :: Lens' RespondToAuthChallengeResponse (Maybe AuthenticationResultType) Source #
The result returned by the server in response to the request to respond to the authentication challenge.
rtacrsSession :: Lens' RespondToAuthChallengeResponse (Maybe Text) Source #
The session.
rtacrsResponseStatus :: Lens' RespondToAuthChallengeResponse Int Source #
- - | The response status code.