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 = {
5454export type MfaSignUpFlow = {
5555 signInFlow: ' MFA' ;
5656 password: string ;
57- mfaPreference? : ' EMAIL' | ' SMS' ;
57+ mfaPreference? : ' EMAIL' | ' SMS' | ' TOTP ' ;
5858 emailSignUpChallenge? : () => Promise <ChallengeResponse >;
5959 smsSignUpChallenge? : () => Promise <ChallengeResponse >;
6060 totpSignUpChallenge? : (totpSetup : auth .SetUpTOTPOutput ) => Promise <ChallengeResponse >;
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ export type PasswordSignInFlow = {
3131export type MfaSignUpFlow = {
3232 signInFlow : 'MFA' ;
3333 password : string ;
34- mfaPreference ?: 'EMAIL' | 'SMS' ;
34+ mfaPreference ?: 'EMAIL' | 'SMS' | 'TOTP' ;
3535 emailSignUpChallenge ?: ( ) => Promise < ChallengeResponse > ;
3636 smsSignUpChallenge ?: ( ) => Promise < ChallengeResponse > ;
3737 totpSignUpChallenge ?: (
You can’t perform that action at this time.
0 commit comments