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 intcompareTo(de.xima.cmn.dao.interfaces.IEntity<Long> o)booleanequals(Object o)com.alibaba.fastjson.JSONObjectgetUserDataJson()inthashCode()booleanisPersisted()protected voidonCreate()Pre persist hook to set the creation date.voidsetUserDataJson(com.alibaba.fastjson.JSONObject userDataJson) 
 - 
 
- 
- 
Method Detail
- 
compareTo
public int compareTo(de.xima.cmn.dao.interfaces.IEntity<Long> o)
- Specified by:
 compareToin 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:
 isPersistedin interfacede.xima.cmn.dao.interfaces.IEntity<Long>
 
- 
onCreate
protected void onCreate()
Pre persist hook to set the creation date. 
 - 
 
 -