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.
cognitoidentityprovider_verify_software_token(
AccessToken = NULL,
Session = NULL,
UserCode,
FriendlyDeviceName = NULL
)
A valid access token that Amazon Cognito issued to the user whose software token you want to verify.
The session that should be passed both ways in challenge-response calls to the service.
[required] The one- time password computed using the secret code returned by
associate_software_token
.
The friendly device name.