Skip to content

Commit 1e9e9da

Browse files
committed
chore: add email mfa to constants.dart
1 parent 87ce6ad commit 1e9e9da

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/auth/amplify_auth_cognito_dart/lib/src/flows/constants.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ abstract class CognitoConstants {
5757
/// The `SMS_MFA_CODE` parameter.
5858
static const challengeParamSmsMfaCode = 'SMS_MFA_CODE';
5959

60+
/// The `EMAIL_MFA_CODE` parameter.
61+
static const challengeParamEmailMfaCode = 'EMAIL_MFA_CODE';
62+
6063
/// The `SOFTWARE_TOKEN_MFA_CODE` parameter.
6164
static const challengeParamSoftwareTokenMfaCode = 'SOFTWARE_TOKEN_MFA_CODE';
6265

0 commit comments

Comments
 (0)