Interface AsyncForgottenLoginManager


public interface AsyncForgottenLoginManager
  • Method Summary

    Modifier and Type
    Method
    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
    Asynchronously sends the usernames associated with the given email address.
  • Method Details

    • sendResetLink

      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.
      Parameters:
      username - username of the user to send the password reset link
      tokenExpirySeconds - number of seconds before generated token expires, or DEFAULT_TOKEN_EXPIRY_SECONDS
    • sendUsernames

      void 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.

      Parameters:
      email - email address of the user