Interface MfaSecondFactor
The different ways in which a user pool can obtain their MFA token for sign in.
https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-mfa.html stable
Synopsis
Properties
otp | The MFA token is a time-based one time password that is generated by a hardware or software token. |
sms | The MFA token is sent to the user via SMS to their verified phone numbers. |
Properties
otp
The MFA token is a time-based one time password that is generated by a hardware or software token.
false https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-mfa-totp.html stable
Declaration
readonly otp: boolean;
Property Value
boolean
sms
The MFA token is sent to the user via SMS to their verified phone numbers.
true https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-mfa-sms-text-message.html stable
Declaration
readonly sms: boolean;
Property Value
boolean