Learn R Programming

paws.security.identity (version 0.7.0)

cognitoidentityprovider_verify_software_token: Use this API to register a user's entered time-based one-time password (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 time-based one-time password (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.

See https://www.paws-r-sdk.com/docs/cognitoidentityprovider_verify_software_token/ for full documentation.

Usage

cognitoidentityprovider_verify_software_token(
  AccessToken = NULL,
  Session = NULL,
  UserCode,
  FriendlyDeviceName = NULL
)

Arguments

AccessToken

A valid access token that Amazon Cognito issued to the user whose software token you want to verify.

Session

The session that 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 associate_software_token.

FriendlyDeviceName

The friendly device name.