AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

RespondToAuthChallengeOutput

import "github.com/aws/aws-sdk-go/service/cognitoidentityprovider"

type RespondToAuthChallengeOutput struct { AuthenticationResult *AuthenticationResultType `type:"structure"` ChallengeName *string `type:"string" enum:"ChallengeNameType"` ChallengeParameters map[string]*string `type:"map"` Session *string `min:"20" type:"string"` }

The response to respond to the authentication challenge.

AuthenticationResult

The authentication result.

ChallengeName

Type: *string

The challenge name. For more information, see .

ChallengeParameters

Type: map[string]*string

The challenge parameters. For more information, see .

Session

Type: *string

The session which should be passed both ways in challenge-response calls to the service. If the or API call determines that 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.

Method

GoString

func (s RespondToAuthChallengeOutput) GoString() string

GoString returns the string representation

SetAuthenticationResult

func (s *RespondToAuthChallengeOutput) SetAuthenticationResult(v *AuthenticationResultType) *RespondToAuthChallengeOutput

SetAuthenticationResult sets the AuthenticationResult field's value.

SetChallengeName

func (s *RespondToAuthChallengeOutput) SetChallengeName(v string) *RespondToAuthChallengeOutput

SetChallengeName sets the ChallengeName field's value.

SetChallengeParameters

func (s *RespondToAuthChallengeOutput) SetChallengeParameters(v map[string]*string) *RespondToAuthChallengeOutput

SetChallengeParameters sets the ChallengeParameters field's value.

SetSession

func (s *RespondToAuthChallengeOutput) SetSession(v string) *RespondToAuthChallengeOutput

SetSession sets the Session field's value.

String

func (s RespondToAuthChallengeOutput) String() string

String returns the string representation

On this page: