We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the Cognito Identity Provider, the deleteUser method does not call the provided GenericHandler when it has succeeded.
deleteUser
GenericHandler
public void deleteUser(GenericHandler callback) { if (callback == null) { throw new CognitoParameterInvalidException("callback is null"); } try { deleteUserInternal(this.getCachedSession()); } catch (final Exception e) { callback.onFailure(e); } }
Should probably be:
public void deleteUser(GenericHandler callback) { if (callback == null) { throw new CognitoParameterInvalidException("callback is null"); } try { deleteUserInternal(this.getCachedSession()); callback.onSuccess(); } catch (final Exception e) { callback.onFailure(e); } }
This would make the API consistent with deleteUserInBackground.
deleteUserInBackground
The text was updated successfully, but these errors were encountered:
Hi Angus,
Thank you for pointing this out. We will take a look at it.
Sorry, something went wrong.
Fixed in 2.6.5 release.
No branches or pull requests
In the Cognito Identity Provider, the
deleteUser
method does not call the providedGenericHandler
when it has succeeded.Should probably be:
This would make the API consistent with
deleteUserInBackground
.The text was updated successfully, but these errors were encountered: