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(UserVerificationTokenType secureUserTokenType, String userName, String tokenString, Date issueDate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getTokenString()
UserVerificationTokenType
getTokenType()
String
getUserName()
int
hashCode()
boolean
matchesToken(String tokenStr)
String
toString()
boolean
wasIssuedAfter(Date date)
-
-
-
Constructor Detail
-
UserVerificationToken
public UserVerificationToken(UserVerificationTokenType secureUserTokenType, String userName, String tokenString, Date issueDate)
-
-
Method Detail
-
getTokenType
public UserVerificationTokenType getTokenType()
-
getUserName
public String getUserName()
-
getTokenString
public String getTokenString()
-
wasIssuedAfter
public boolean wasIssuedAfter(Date date)
-
matchesToken
public boolean matchesToken(String tokenStr)
-
-