Package org.apereo.cas.gauth.credential
Class JpaGoogleAuthenticatorAccount
java.lang.Object
org.apereo.cas.authentication.OneTimeTokenAccount
org.apereo.cas.gauth.credential.GoogleAuthenticatorAccount
org.apereo.cas.gauth.credential.JpaGoogleAuthenticatorAccount
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<org.apereo.cas.authentication.OneTimeTokenAccount>
@Entity
public class JpaGoogleAuthenticatorAccount
extends org.apereo.cas.gauth.credential.GoogleAuthenticatorAccount
This is
JpaGoogleAuthenticatorAccount.- Since:
- 6.2.0
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classJpaGoogleAuthenticatorAccount.JpaGoogleAuthenticatorAccountBuilder<C extends JpaGoogleAuthenticatorAccount,B extends JpaGoogleAuthenticatorAccount.JpaGoogleAuthenticatorAccountBuilder<C, B>> Nested classes/interfaces inherited from class org.apereo.cas.gauth.credential.GoogleAuthenticatorAccount
org.apereo.cas.gauth.credential.GoogleAuthenticatorAccount.GoogleAuthenticatorAccountBuilder<C extends org.apereo.cas.gauth.credential.GoogleAuthenticatorAccount,B extends org.apereo.cas.gauth.credential.GoogleAuthenticatorAccount.GoogleAuthenticatorAccountBuilder<C, B>> Nested classes/interfaces inherited from class org.apereo.cas.authentication.OneTimeTokenAccount
org.apereo.cas.authentication.OneTimeTokenAccount.OneTimeTokenAccountBuilder<C extends org.apereo.cas.authentication.OneTimeTokenAccount,B extends org.apereo.cas.authentication.OneTimeTokenAccount.OneTimeTokenAccountBuilder<C, B>> -
Field Summary
Fields inherited from class org.apereo.cas.authentication.OneTimeTokenAccount
TABLE_NAME_SCRATCH_CODES -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apereo.cas.authentication.OneTimeTokenAccount
clone, compareTo, equals, getLastUsedDateTime, getName, getRegistrationDate, getScratchCodes, getSecretKey, getUsername, getValidationCode, hashCode, setId, setLastUsedDateTime, setName, setRegistrationDate, setScratchCodes, setSecretKey, setUsername, setValidationCode, toJson, toString
-
Constructor Details
-
JpaGoogleAuthenticatorAccount
public JpaGoogleAuthenticatorAccount()
-
-
Method Details
-
from
public static JpaGoogleAuthenticatorAccount from(org.apereo.cas.authentication.OneTimeTokenAccount acct) Update account info from account object.- Parameters:
acct- to be updated- Returns:
- this
-
builder
-
getId
public long getId()- Overrides:
getIdin classorg.apereo.cas.authentication.OneTimeTokenAccount
-