Class WAGoogleMfaAuthTokenRepository

  • All Implemented Interfaces:
    org.apereo.cas.otp.repository.token.OneTimeTokenRepository<org.apereo.cas.gauth.token.GoogleAuthenticatorToken>

    public class WAGoogleMfaAuthTokenRepository
    extends org.apereo.cas.otp.repository.token.BaseOneTimeTokenRepository<org.apereo.cas.gauth.token.GoogleAuthenticatorToken>
    • Field Detail

      • LOG

        protected static final Logger LOG
      • expireTokensInSeconds

        protected final long expireTokensInSeconds
    • Constructor Detail

      • WAGoogleMfaAuthTokenRepository

        public WAGoogleMfaAuthTokenRepository​(WARestClient waRestClient,
                                              long expireTokensInSeconds)
    • Method Detail

      • cleanInternal

        protected void cleanInternal()
        Specified by:
        cleanInternal in class org.apereo.cas.otp.repository.token.BaseOneTimeTokenRepository<org.apereo.cas.gauth.token.GoogleAuthenticatorToken>
      • store

        public void store​(org.apereo.cas.gauth.token.GoogleAuthenticatorToken token)
      • get

        public org.apereo.cas.gauth.token.GoogleAuthenticatorToken get​(String username,
                                                                       Integer otp)
      • remove

        public void remove​(String username)
      • remove

        public void remove​(Integer otp)
      • removeAll

        public void removeAll()
      • count

        public long count​(String username)
      • count

        public long count()