Skip to content

Commit d33408c

Browse files
committed
chore: add sign in step enums
1 parent 95a66bd commit d33408c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

packages/amplify_core/lib/src/types/auth/sign_in/auth_sign_in_step.dart

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,27 @@ enum AuthSignInStep {
1010
/// an MFA method.
1111
continueSignInWithMfaSelection,
1212

13+
/// The sign-in is not complete and the user must set up and select an MFA method.
14+
continueSignInWithMfaSetupSelection,
15+
1316
/// The sign-in is not complete and a TOTP authenticator app must be
1417
/// registered before continuing.
1518
continueSignInWithTotpSetup,
1619

20+
/// The sign-in is not complete and an Email MFA must be set up before
21+
/// continuing.
22+
continueSignInWithEmailMfaSetup,
23+
1724
/// The sign-in is not complete and must be confirmed with an SMS code.
1825
confirmSignInWithSmsMfaCode,
1926

2027
/// The sign-in is not complete and must be confirmed with a TOTP code
2128
/// from a registered authenticator app.
2229
confirmSignInWithTotpMfaCode,
2330

31+
/// The sign-in is not complete and must be confirmed with an email code.
32+
confirmSignInWithEmailMfaCode,
33+
2434
/// The sign-in is not complete and must be confirmed with the user's new
2535
/// password.
2636
confirmSignInWithNewPassword,

0 commit comments

Comments
 (0)