Interface PasswordResetToken

All Known Implementing Classes:
PasswordResetTokenImpl

public interface PasswordResetToken
Represents one-time token for a user;
  • Method Details

    • getToken

      @NotNull @NotNull String getToken()
      Returns:
      value of a token
    • getTokenCreationTime

      @NotNull @NotNull Timestamp getTokenCreationTime()
      Returns:
      time of creation
    • getUserName

      String getUserName()
      Returns:
      user login name
    • generate

      void generate()
      Create new value of token and reset creation date to current time.