Interface AsyncForgottenLoginManager
public interface AsyncForgottenLoginManager
-
Method Summary
Modifier and TypeMethodDescriptionvoidsendResetLink(String username, int tokenExpirySeconds) Asynchronously sends a reset link to the first user with the matchingusernamefrom all the active directories assigned to the application.voidsendUsernames(String email) Asynchronously sends the usernames associated with the given email address.
-
Method Details
-
sendResetLink
Asynchronously sends a reset link to the first user with the matchingusernamefrom all the active directories assigned to the application.- Parameters:
username- username of the user to send the password reset linktokenExpirySeconds- number of seconds before generated token expires, or DEFAULT_TOKEN_EXPIRY_SECONDS
-
sendUsernames
Asynchronously sends the usernames associated with the given email address. No email will be sent if there are no usernames associated with a given
email.- Parameters:
email- email address of the user
-