Class 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.GoogleAuthenticatorAccount
    Since:
    6.0.0
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.apereo.cas.authentication.OneTimeTokenAccount

        TABLE_NAME_SCRATCH_CODES
    • 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
      CouchDbGoogleAuthenticatorAccount update​(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
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
    • 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