Learn R Programming

paws.security.identity (version 0.8.0)

cognitoidentityprovider_associate_software_token: Begins setup of time-based one-time password (TOTP) multi-factor authentication (MFA) for a user, with a unique private key that Amazon Cognito generates and returns in the API response

Description

Begins setup of time-based one-time password (TOTP) multi-factor authentication (MFA) for a user, with a unique private key that Amazon Cognito generates and returns in the API response. You can authorize an associate_software_token request with either the user's access token, or a session string from a challenge response that you received from Amazon Cognito.

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

Usage

cognitoidentityprovider_associate_software_token(
  AccessToken = NULL,
  Session = NULL
)

Arguments

AccessToken

A valid access token that Amazon Cognito issued to the user whose software token you want to generate. You can provide either an access token or a session ID in the request.

Session

The session identifier that maintains the state of authentication requests and challenge responses. In associate_software_token, this is the session ID from a successful sign-in. You can provide either an access token or a session ID in the request.