Package de.xima.fc.entities
Class UserMfaTempToken
- java.lang.Object
-
- de.xima.fc.entities.UserMfaTempToken
-
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>
,Serializable
,Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
@Entity public class UserMfaTempToken extends Object implements de.xima.cmn.dao.interfaces.IEntity<Long>
Entity representing the temporary token that is needed in conjunction with the two-factor authentication code when verifying a user via two-factor authentication.- Since:
- 8.4.0
- Author:
- Norman Lorenz
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UserMfaTempToken()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(de.xima.cmn.dao.interfaces.IEntity<Long> o)
boolean
equals(Object o)
com.alibaba.fastjson.JSONObject
getUserDataJson()
int
hashCode()
boolean
isPersisted()
protected void
onCreate()
Pre persist hook to set the creation date.void
setUserDataJson(com.alibaba.fastjson.JSONObject userDataJson)
-
-
-
Method Detail
-
compareTo
public int compareTo(de.xima.cmn.dao.interfaces.IEntity<Long> o)
- Specified by:
compareTo
in interfaceComparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
-
setUserDataJson
public void setUserDataJson(com.alibaba.fastjson.JSONObject userDataJson)
-
getUserDataJson
public com.alibaba.fastjson.JSONObject getUserDataJson()
-
isPersisted
public boolean isPersisted()
- Specified by:
isPersisted
in interfacede.xima.cmn.dao.interfaces.IEntity<Long>
-
onCreate
protected void onCreate()
Pre persist hook to set the creation date.
-
-