cognitoidentityprovider_associate_software_token: Begins setup of time-based one-time password (TOTP)...

View source: R/cognitoidentityprovider_operations.R

cognitoidentityprovider_associate_software_tokenR Documentation

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.

Session

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.


paws.security.identity documentation built on Sept. 12, 2024, 6:30 a.m.