Class CouchDbGoogleAuthenticatorAccount
- java.lang.Object
-
- org.apereo.cas.authentication.OneTimeTokenAccount
-
- org.apereo.cas.gauth.credential.GoogleAuthenticatorAccount
-
- org.apereo.cas.couchdb.gauth.credential.CouchDbGoogleAuthenticatorAccount
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.lang.Comparable<org.apereo.cas.authentication.OneTimeTokenAccount>
public class CouchDbGoogleAuthenticatorAccount extends org.apereo.cas.gauth.credential.GoogleAuthenticatorAccountThis isCouchDbGoogleAuthenticatorAccount.- Since:
- 6.0.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CouchDbGoogleAuthenticatorAccount(java.lang.String cid, java.lang.String rev, long id, java.lang.String username, java.lang.String secretKey, int validationCode, java.util.List<java.lang.Integer> scratchCodes, java.time.ZonedDateTime registrationDate)CouchDbGoogleAuthenticatorAccount(org.apereo.cas.authentication.OneTimeTokenAccount tokenAccount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CouchDbGoogleAuthenticatorAccountupdate(org.apereo.cas.authentication.OneTimeTokenAccount account)Update account info from account object.-
Methods inherited from class org.apereo.cas.authentication.OneTimeTokenAccount
canEqual, clone, compareTo, equals, getId, getRegistrationDate, getScratchCodes, getSecretKey, getUsername, getValidationCode, hashCode, setId, setRegistrationDate, setScratchCodes, setSecretKey, setUsername, setValidationCode, toString
-
-
-
-
Constructor Detail
-
CouchDbGoogleAuthenticatorAccount
public CouchDbGoogleAuthenticatorAccount(java.lang.String cid, java.lang.String rev, long id, java.lang.String username, java.lang.String secretKey, int validationCode, java.util.List<java.lang.Integer> scratchCodes, java.time.ZonedDateTime registrationDate)
-
CouchDbGoogleAuthenticatorAccount
public CouchDbGoogleAuthenticatorAccount(org.apereo.cas.authentication.OneTimeTokenAccount tokenAccount)
-
-
Method Detail
-
update
public CouchDbGoogleAuthenticatorAccount update(org.apereo.cas.authentication.OneTimeTokenAccount account)
Update account info from account object.- Parameters:
account- to be updated- Returns:
- this
-
-