From 4da65e89a92b6fd111e5f0fe6c065ac4b1ec35c8 Mon Sep 17 00:00:00 2001 From: Kha Truong <64438356+khatruong2009@users.noreply.github.com> Date: Mon, 5 Aug 2024 10:46:40 -0700 Subject: [PATCH] Revert "chore: add ChallengeName" This reverts commit 04fbd0c4ebd073fe291d95abfb5f33aa8bfe1f50. --- .../model/challenge_name_type.dart | 7 ------- 1 file changed, 7 deletions(-) diff --git a/packages/auth/amplify_auth_cognito_dart/lib/src/sdk/src/cognito_identity_provider/model/challenge_name_type.dart b/packages/auth/amplify_auth_cognito_dart/lib/src/sdk/src/cognito_identity_provider/model/challenge_name_type.dart index 29df69b192..245f07151e 100644 --- a/packages/auth/amplify_auth_cognito_dart/lib/src/sdk/src/cognito_identity_provider/model/challenge_name_type.dart +++ b/packages/auth/amplify_auth_cognito_dart/lib/src/sdk/src/cognito_identity_provider/model/challenge_name_type.dart @@ -80,12 +80,6 @@ class ChallengeNameType extends _i1.SmithyEnum { 'SOFTWARE_TOKEN_MFA', ); - static const emailMfa = ChallengeNameType._( - 10, - 'EMAIL_MFA', - 'EMAIL_MFA', - ); - /// All values of [ChallengeNameType]. static const values = [ ChallengeNameType.adminNoSrpAuth, @@ -99,7 +93,6 @@ class ChallengeNameType extends _i1.SmithyEnum { ChallengeNameType.selectMfaType, ChallengeNameType.smsMfa, ChallengeNameType.softwareTokenMfa, - ChallengeNameType.emailMfa, ]; static const List<_i1.SmithySerializer> serializers = [