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. You can provide either an access token or a session ID in the request.
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.