#initialize(context, message, data = Aws::EmptyStructure.new) ⇒PasswordResetRequiredException Returns a new instance of PasswordResetRequiredException. Parameters: context(Seahorse::Client::RequestContext) message(String) data(Aws::CognitoIdentityProvider::Types::PasswordResetRequiredException)(...
("UserName '%v' found with email %v. User is migrated and must reset password.\n", user.UserName, user.UserEmail) event.CognitoEventUserPoolsMigrateUserResponse.UserAttributes = map[string]string{ "email": user.UserEmail, "email_verified": "true", // emai...
ericclemmons added Auth bug Cognito and removed question labels on Dec 11, 2019 Contributor ericclemmons commented on Dec 11, 2019 @marcpaskell I was able to look into this and you're right: the library isn't handling the RESET_REQUIRED state and it makes it appear like an input valida...
你应该打电话给forgotPassword。来自使用 Amazon Cognito 用户身份池 Javascript 示例中的 AWS 文档:...
Bugfix - Cognito::signUp requires string attributes 0.2.3 (27/01/2018)Mapped additional error responses to exceptions 0.2.2 (27/01/2018)Added handling for password reset required responses 0.2.1 (25/01/2018)Added method to return full token payload 0.2.0 (25/01/2018)...
()==Aws::CognitoIdentityProvider::Model::ChallengeNameType::NOT_SET){// for this code sample, this is what we expect, there should be no further challenges// there are more complex options, for example requiring the user to reset the password the first login// or using a more ...
If you are more security conscious you can create an IAM user with access only to the required AWS resources. In addition, you can eliminate the need for any downloaded AWS credentials and use Amazon Cognito Identity Pools to grant AWS resource access to your application. Both of the...
// This method is called when we need to reset a password. // It will grab the view controller from the storyboard and present it. func startNewPasswordRequired() -> AWSCognitoIdentityNewPasswordRequired { if (self.resetPasswordViewController == nil) { ...
, "rawrequiredattributes" , "requiredattributes" , "userattributesprefix" , "getcognitousersession" , "newdevicemetadata" , "errgenhash" , "devicesecretverifierconfig" , "salt" , "passwordverifier" , "devicekey" , "devicesecretverifierconfig" , "devicename" , "errconfirm" , "dataconfirm"...