public interface AsyncForgottenLoginManager
Modifier and Type | Method and Description |
---|---|
void |
sendResetLink(String username,
int tokenExpirySeconds)
Asynchronously sends a reset link to the first user with the matching username from all the active directories assigned
to the application.
|
void |
sendUsernames(String email)
Asynchronously sends the usernames associated with the given email address.
|
void sendResetLink(String username, int tokenExpirySeconds)
username
- username of the user to send the password reset linktokenExpirySeconds
- number of seconds before generated token expires, or DEFAULT_TOKEN_EXPIRY_SECONDSvoid sendUsernames(String email)
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
.
email
- email address of the userCopyright © 2020 Atlassian. All rights reserved.