You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CognitoIdentityProvider::Types::RespondToAuthChallengeResponse

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

The response to respond to the authentication challenge.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#authentication_resultTypes::AuthenticationResultType

The result returned by the server in response to the request to respond to the authentication challenge.

Returns:

#challenge_nameString

The challenge name. For more information, see InitiateAuth.

Returns:

  • (String)

    The challenge name.

#challenge_parametersHash<String,String>

The challenge parameters. For more information, see InitiateAuth.

Returns:

  • (Hash<String,String>)

    The challenge parameters.

#sessionString

The session which should be passed both ways in challenge-response calls to the service. If the caller needs to go through another challenge, they return a session with other challenge parameters. This session should be passed as it is to the next RespondToAuthChallenge API call.

Returns:

  • (String)

    The session which should be passed both ways in challenge-response calls to the service.