Class PasswordToken
java.lang.Object
com.broadleafcommerce.auth.user.domain.PasswordToken
- Author:
- Nathan Moore (nathanmoore).
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The 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.int
hashCode()
boolean
isUsed()
Whether or not this token has been used.void
setDateCreated
(Instant dateCreated) The date this token was created.void
setDateUsed
(Instant dateUsed) The date this token was used, or null.void
The primary key of this token.void
setPurpose
(String purpose) The reason this token was created.void
The token valuevoid
setUsed
(boolean used) Whether or not this token has been used.void
The 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()
-