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 Summary
Modifier and TypeFieldDescriptionprotected final long
protected static final Logger
protected final WARestClient
-
Constructor Summary
ConstructorDescriptionWAGoogleMfaAuthTokenRepository
(WARestClient waRestClient, long expireTokensInSeconds) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
long
count()
long
org.apereo.cas.gauth.token.GoogleAuthenticatorToken
void
void
void
void
protected GoogleMfaAuthTokenService
service()
org.apereo.cas.gauth.token.GoogleAuthenticatorToken
store
(org.apereo.cas.gauth.token.GoogleAuthenticatorToken token) Methods inherited from class org.apereo.cas.otp.repository.token.BaseOneTimeTokenRepository
clean, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apereo.cas.otp.repository.token.OneTimeTokenRepository
exists
-
Field Details
-
LOG
-
waRestClient
-
expireTokensInSeconds
protected final long expireTokensInSeconds
-
-
Constructor Details
-
WAGoogleMfaAuthTokenRepository
-
-
Method Details
-
service
-
cleanInternal
protected void cleanInternal()- Specified by:
cleanInternal
in classorg.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
-
remove
-
remove
-
remove
-
removeAll
public void removeAll() -
count
-
count
public long count()
-