cognitoidentityprovider_set_user_mfa_preference: Set the user's multi-factor authentication (MFA) method...

Description Usage Arguments Request syntax

View source: R/cognitoidentityprovider_operations.R

Description

Set the user's multi-factor authentication (MFA) method preference.

Usage

1
2
cognitoidentityprovider_set_user_mfa_preference(SMSMfaSettings,
  SoftwareTokenMfaSettings, AccessToken)

Arguments

SMSMfaSettings

The SMS text message multi-factor authentication (MFA) settings.

SoftwareTokenMfaSettings

The time-based one-time password software token MFA settings.

AccessToken

[required] The access token.

Request syntax

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
svc$set_user_mfa_preference(
  SMSMfaSettings = list(
    Enabled = TRUE|FALSE,
    PreferredMfa = TRUE|FALSE
  ),
  SoftwareTokenMfaSettings = list(
    Enabled = TRUE|FALSE,
    PreferredMfa = TRUE|FALSE
  ),
  AccessToken = "string"
)

paws.security.identity documentation built on Oct. 30, 2019, 11:26 a.m.