Package com.atlassian.bamboo.user
Interface PasswordResetToken
-
- All Known Implementing Classes:
PasswordResetTokenImpl
public interface PasswordResetToken
Represents one-time token for a user;
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
generate()
Create new value of token and reset creation date to current time.@NotNull String
getToken()
@NotNull Timestamp
getTokenCreationTime()
String
getUserName()
-
-
-
Method Detail
-
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.
-
-