Class PasswordToken
java.lang.Object
com.broadleafcommerce.auth.user.domain.PasswordToken
- Author:
- Nathan Moore (nathanmoore).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe date this token was created.The date this token was used, or null.getId()The primary key of this token.The reason this token was created.getToken()The token valueThe ID of the user associated with this token.inthashCode()booleanisUsed()Whether or not this token has been used.voidsetDateCreated(Instant dateCreated) The date this token was created.voidsetDateUsed(Instant dateUsed) The date this token was used, or null.voidThe primary key of this token.voidsetPurpose(String purpose) The reason this token was created.voidThe token valuevoidsetUsed(boolean used) Whether or not this token has been used.voidThe ID of the user associated with this token.toString()
-
Constructor Details
-
PasswordToken
public PasswordToken()
-
-
Method Details
-
toString
-
getId
The primary key of this token. -
getToken
The token value -
getDateCreated
The date this token was created. -
getDateUsed
The date this token was used, or null. -
isUsed
public boolean isUsed()Whether or not this token has been used. -
getUserId
The ID of the user associated with this token. -
getPurpose
The reason this token was created. -
setId
The primary key of this token. -
setToken
The token value -
setDateCreated
The date this token was created. -
setDateUsed
The date this token was used, or null. -
setUsed
public void setUsed(boolean used) Whether or not this token has been used. -
setUserId
The ID of the user associated with this token. -
setPurpose
The reason this token was created. -
equals
-
canEqual
-
hashCode
public int hashCode()
-