Class CouchDbGoogleAuthenticatorTokenCredentialRepository

  • All Implemented Interfaces:
    org.apereo.cas.otp.repository.credentials.OneTimeTokenCredentialRepository

    public class CouchDbGoogleAuthenticatorTokenCredentialRepository
    extends org.apereo.cas.gauth.credential.BaseGoogleAuthenticatorCredentialRepository
    Since:
    6.0.0
    • Field Summary

      • Fields inherited from class org.apereo.cas.gauth.credential.BaseGoogleAuthenticatorCredentialRepository

        googleAuthenticator
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long count()  
      void delete​(java.lang.String username)  
      void deleteAll()  
      org.apereo.cas.authentication.OneTimeTokenAccount get​(java.lang.String username)  
      java.util.Collection<? extends org.apereo.cas.authentication.OneTimeTokenAccount> load()  
      org.apereo.cas.authentication.OneTimeTokenAccount update​(org.apereo.cas.authentication.OneTimeTokenAccount account)  
      • Methods inherited from class org.apereo.cas.gauth.credential.BaseGoogleAuthenticatorCredentialRepository

        create, save
      • Methods inherited from class org.apereo.cas.otp.repository.credentials.BaseOneTimeTokenCredentialRepository

        decode, encode
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CouchDbGoogleAuthenticatorTokenCredentialRepository

        public CouchDbGoogleAuthenticatorTokenCredentialRepository​(com.warrenstrange.googleauth.IGoogleAuthenticator googleAuthenticator,
                                                                   GoogleAuthenticatorAccountCouchDbRepository googleAuthenticatorAccountRepository,
                                                                   org.apereo.cas.util.crypto.CipherExecutor<java.lang.String,​java.lang.String> tokenCredentialCipher)
    • Method Detail

      • get

        public org.apereo.cas.authentication.OneTimeTokenAccount get​(java.lang.String username)
      • load

        public java.util.Collection<? extends org.apereo.cas.authentication.OneTimeTokenAccount> load()
      • update

        public org.apereo.cas.authentication.OneTimeTokenAccount update​(org.apereo.cas.authentication.OneTimeTokenAccount account)
      • deleteAll

        public void deleteAll()
      • delete

        public void delete​(java.lang.String username)
      • count

        public long count()