你应该打电话给forgotPassword。来自使用 Amazon Cognito 用户身份池 Javascript 示例中的 AWS 文档:...
Don't use Amazon Cognito to provide sensitive information. Returns: (Hash<String,String>) #user_pool_id ⇒ String The user pool ID for the user pool where you want to reset the user's password. Returns: (String) #username ⇒ String The username of the user t...
#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...
apis confirmResetPassword.ts resetPassword.ts index.ts types/options CognitoConfirmResetPasswordOptions.ts utils/clients ConfirmResetPasswordClient.ts HttpClients.ts types index.ts requests ConfirmResetPasswordRequest.ts 129 changes: 129 additions & 0 deletions 129 packages/auth/__tests__/provider...
您可以使用AdminUpdateUserAttributes将Account Status更新为FORCE_CHANGE_PASSWORD。如果这不起作用,您可以...
Ellaisys\Cognito\Auth\SendsPasswordResetEmails Ellaisys\Cognito\Auth\VerifiesEmails In the simplest way you just go through your Auth Controllers and change namespaces from the traits which are currently implemented from Laravel. You can change structure to suit your needs. Please be aware of the ...
return self.resetPasswordViewController! } } One key thing to note is that both of these methods return a view controller that implements a specific protocol. For example, theLoginViewControllerimplementsAWSCognitoIdentityPasswordAuthentication, which has a single method that gets called with the param...
cognito-identity.ap-south-1.amazonaws.com cognito-idp.ap-south-1.amazonaws.com sns.ap-south-1.amazonaws.com sqs.ap-south-1.amazonaws.com Production tenants in the US region: cognito-identity.us-west-2.amazonaws.com cognito-idp.us-west-2.amazonaws.com sns.us...
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 secure passwor...