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.

VerifySoftwareTokenInput

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

type VerifySoftwareTokenInput struct { AccessToken *string `type:"string" sensitive:"true"` FriendlyDeviceName *string `type:"string"` Session *string `min:"20" type:"string"` UserCode *string `min:"6" type:"string" required:"true"` }

AccessToken

Type: *string

The access token.

FriendlyDeviceName

Type: *string

The friendly device name.

Session

Type: *string

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

UserCode

Type: *string

The one time password computed using the secret code returned by

UserCode is a required field

Method

GoString

func (s VerifySoftwareTokenInput) GoString() string

GoString returns the string representation

SetAccessToken

func (s *VerifySoftwareTokenInput) SetAccessToken(v string) *VerifySoftwareTokenInput

SetAccessToken sets the AccessToken field's value.

SetFriendlyDeviceName

func (s *VerifySoftwareTokenInput) SetFriendlyDeviceName(v string) *VerifySoftwareTokenInput

SetFriendlyDeviceName sets the FriendlyDeviceName field's value.

SetSession

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

SetSession sets the Session field's value.

SetUserCode

func (s *VerifySoftwareTokenInput) SetUserCode(v string) *VerifySoftwareTokenInput

SetUserCode sets the UserCode field's value.

String

func (s VerifySoftwareTokenInput) String() string

String returns the string representation

Validate

func (s *VerifySoftwareTokenInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: