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.
cognitoidentityprovider_associate_software_token(
AccessToken = NULL,
Session = NULL
)
A valid access token that Amazon Cognito issued to the user whose software token you want to generate.
The session that should be passed both ways in challenge-response calls to the service. This allows authentication of the user as part of the MFA setup process.