File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ export type MfaSignInFlow = {
54
54
export type MfaSignUpFlow = {
55
55
signInFlow: ' MFA' ;
56
56
password: string ;
57
- mfaPreference? : ' EMAIL' | ' SMS' ;
57
+ mfaPreference? : ' EMAIL' | ' SMS' | ' TOTP ' ;
58
58
emailSignUpChallenge? : () => Promise <ChallengeResponse >;
59
59
smsSignUpChallenge? : () => Promise <ChallengeResponse >;
60
60
totpSignUpChallenge? : (totpSetup : auth .SetUpTOTPOutput ) => Promise <ChallengeResponse >;
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ export type PasswordSignInFlow = {
31
31
export type MfaSignUpFlow = {
32
32
signInFlow : 'MFA' ;
33
33
password : string ;
34
- mfaPreference ?: 'EMAIL' | 'SMS' ;
34
+ mfaPreference ?: 'EMAIL' | 'SMS' | 'TOTP' ;
35
35
emailSignUpChallenge ?: ( ) => Promise < ChallengeResponse > ;
36
36
smsSignUpChallenge ?: ( ) => Promise < ChallengeResponse > ;
37
37
totpSignUpChallenge ?: (
You can’t perform that action at this time.
0 commit comments