Enumeration members
AppMfa
AppMfa: = "SOFTWARE_TOKEN_MFA"
BeginForgotPassword
BeginForgotPassword: = "BEGIN_FORGOT_PASSWORD"
Default
Default: = "DEFAULT"
ForgotPassword
ForgotPassword: = "FORGOT_PASSWORD"
MfaSetup
MfaSetup: = "MFA_SETUP"
NewPasswordRequired
NewPasswordRequired: = "NEW_PASSWORD_REQUIRED"
SelectMfaType
SelectMfaType: = "SELECT_MFA_TYPE"
SmsMfa
SmsMfa: = "SMS_MFA"
Our internal key of possible challenges from Cognito.
ForgotPassword
andDefault
are constants we made up to control the client-side interface -- the former means we've begun aPassReset
flow, the latter means there is no challenge at all.NewPasswordRequired
and MFA-related challenges, however, are proper Cognito challenges. You can view the whole list of them at:https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_InitiateAuth.html#API_InitiateAuth_ResponseSyntax