@@ -46,6 +46,12 @@ class UnauthenticatedState extends AuthState
46
46
static const confirmSignInWithTotpMfaCode = UnauthenticatedState (
47
47
step: AuthenticatorStep .confirmSignInWithTotpMfaCode,
48
48
);
49
+ static const continueSignInWithEmailMfaSetup = UnauthenticatedState (
50
+ step: AuthenticatorStep .continueSignInWithEmailMfaSetup,
51
+ );
52
+ static const confirmSignInWithEmailMfaCode = UnauthenticatedState (
53
+ step: AuthenticatorStep .confirmSignInWithEmailMfaCode,
54
+ );
49
55
static const resetPassword =
50
56
UnauthenticatedState (step: AuthenticatorStep .resetPassword);
51
57
static const confirmResetPassword =
@@ -111,6 +117,21 @@ class ContinueSignInWithMfaSelection extends UnauthenticatedState {
111
117
String get runtimeTypeName => 'ContinueSignInWithMfaSelection' ;
112
118
}
113
119
120
+ class ContinueSignInWithMfaSetupSelection extends UnauthenticatedState {
121
+ const ContinueSignInWithMfaSetupSelection ({
122
+ Set <MfaType >? allowedMfaTypes,
123
+ }) : allowedMfaTypes = allowedMfaTypes ?? const {},
124
+ super (step: AuthenticatorStep .continueSignInWithMfaSetupSelection);
125
+
126
+ final Set <MfaType > allowedMfaTypes;
127
+
128
+ @override
129
+ List <Object ?> get props => [step, allowedMfaTypes];
130
+
131
+ @override
132
+ String get runtimeTypeName => 'ContinueSignInWithMfaSetupSelection' ;
133
+ }
134
+
114
135
class ContinueSignInTotpSetup extends UnauthenticatedState {
115
136
const ContinueSignInTotpSetup (this .totpSetupDetails, this .totpSetupUri)
116
137
: super (step: AuthenticatorStep .continueSignInWithTotpSetup);
0 commit comments