Package com.atlassian.confluence.user
Class UserVerificationToken
- java.lang.Object
-
- com.atlassian.confluence.user.UserVerificationToken
-
- All Implemented Interfaces:
Serializable
public class UserVerificationToken extends Object implements Serializable
Represents a verification token issued to a user or potential user. This only refers to the username, rather than theConfluenceUser
, since aConfluenceUser
may not yet exist.- Since:
- 5.2
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UserVerificationToken()
empty constructor - to make Jackson2 happyUserVerificationToken(UserVerificationTokenType tokenType, String userName, String tokenString, Date issueDate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Date
getIssueDate()
String
getTokenString()
UserVerificationTokenType
getTokenType()
String
getUserName()
int
hashCode()
boolean
matchesToken(String tokenStr)
String
toString()
boolean
wasIssuedAfter(Date date)
-
-
-
Constructor Detail
-
UserVerificationToken
public UserVerificationToken()
empty constructor - to make Jackson2 happy- Since:
- 8.2.0
-
UserVerificationToken
public UserVerificationToken(UserVerificationTokenType tokenType, String userName, String tokenString, Date issueDate)
-
-
Method Detail
-
getUserName
public String getUserName()
-
getTokenType
public UserVerificationTokenType getTokenType()
-
getTokenString
public String getTokenString()
-
getIssueDate
public Date getIssueDate()
-
wasIssuedAfter
public boolean wasIssuedAfter(Date date)
-
matchesToken
public boolean matchesToken(String tokenStr)
-
-