com.atlassian.bamboo.user
Interface PasswordResetToken

All Known Implementing Classes:
PasswordResetTokenImpl

public interface PasswordResetToken

Represents one-time token for a user;


Method Summary
 void generate()
          Create new value of token and reset creation date to current time.
 java.lang.String getToken()
           
 java.sql.Timestamp getTokenCreationTime()
           
 java.lang.String getUserName()
           
 

Method Detail

getToken

@NotNull
java.lang.String getToken()
Returns:
value of a token

getTokenCreationTime

@NotNull
java.sql.Timestamp getTokenCreationTime()
Returns:
time of creation

getUserName

java.lang.String getUserName()
Returns:
user login name

generate

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



Copyright © 2012 Atlassian. All Rights Reserved.