@Entity public class VerificationToken extends Object implements Serializable
| Constructor and Description |
|---|
VerificationToken()
Default constructor.
|
VerificationToken(String token,
User user)
Creates a new instance of VerificationToken.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getEmail()
Gets the email of the associated user.
|
String |
getLogin()
Gets the login of the associated user.
|
String |
getToken()
Gets the generated token.
|
User |
toUser()
Gets the associated user.
|
public VerificationToken()
public String getToken()
public User toUser()
Userpublic String getLogin()
public String getEmail()
Copyright © 2017. All rights reserved.