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.

AssociateSoftwareTokenOutput

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

type AssociateSoftwareTokenOutput struct { SecretCode *string `min:"16" type:"string" sensitive:"true"` Session *string `min:"20" type:"string"` }

SecretCode

Type: *string

A unique generated shared secret code that is used in the TOTP algorithm to generate a one time code.

Session

Type: *string

The session which should be passed both ways in challenge-response calls to the service. This allows authentication of the user as part of the MFA setup process.

Method

GoString

func (s AssociateSoftwareTokenOutput) GoString() string

GoString returns the string representation

SetSecretCode

func (s *AssociateSoftwareTokenOutput) SetSecretCode(v string) *AssociateSoftwareTokenOutput

SetSecretCode sets the SecretCode field's value.

SetSession

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

SetSession sets the Session field's value.

String

func (s AssociateSoftwareTokenOutput) String() string

String returns the string representation

On this page: