Learn R Programming

paws.security.identity (version 0.1.0)

cognitoidentityprovider_verify_software_token: Use this API to register a user's entered TOTP code and mark the user's software token MFA status as "verified" if successful

Description

Use this API to register a user's entered TOTP code and mark the user's software token MFA status as "verified" if successful. The request takes an access token or a session string, but not both.

Usage

cognitoidentityprovider_verify_software_token(AccessToken, Session,
  UserCode, FriendlyDeviceName)

Arguments

AccessToken

The access token.

Session

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

UserCode

[required] The one time password computed using the secret code returned by

FriendlyDeviceName

The friendly device name.

Request syntax

svc$verify_software_token(
  AccessToken = "string",
  Session = "string",
  UserCode = "string",
  FriendlyDeviceName = "string"
)