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 aConfluenceUsermay 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 booleanequals(Object o)StringgetTokenString()UserVerificationTokenTypegetTokenType()StringgetUserName()inthashCode()booleanmatchesToken(String tokenStr)StringtoString()booleanwasIssuedAfter(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)
-
-