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

Class: Aws::CognitoIdentityProvider::Types::AdminRespondToAuthChallengeResponse

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

Overview

Responds to the authentication challenge, as an administrator.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#authentication_result ⇒ Types::AuthenticationResultType

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

Returns:

#challenge_name ⇒ String

The name of the challenge. For more information, see AdminInitiateAuth.

Returns:

  • (String) —

    The name of the challenge.

#challenge_parameters ⇒ Hash<String,String>

The challenge parameters. For more information, see AdminInitiateAuth.

Returns:

  • (Hash<String,String>) —

    The challenge parameters.

#session ⇒ String

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.