Class WAGoogleMfaAuthTokenRepository

java.lang.Object
org.apereo.cas.otp.repository.token.BaseOneTimeTokenRepository<org.apereo.cas.gauth.token.GoogleAuthenticatorToken>
org.apache.syncope.wa.starter.gauth.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 Details

    • LOG

      protected static final Logger LOG
    • waRestClient

      protected final WARestClient waRestClient
    • expireTokensInSeconds

      protected final long expireTokensInSeconds
  • Constructor Details

    • WAGoogleMfaAuthTokenRepository

      public WAGoogleMfaAuthTokenRepository(WARestClient waRestClient, long expireTokensInSeconds)
  • Method Details

    • service

      protected GoogleMfaAuthTokenService service()
    • cleanInternal

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

      public org.apereo.cas.gauth.token.GoogleAuthenticatorToken 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, 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()