Class WAGoogleMfaAuthCredentialRepository
java.lang.Object
org.apereo.cas.otp.repository.credentials.BaseOneTimeTokenCredentialRepository
org.apereo.cas.gauth.credential.BaseGoogleAuthenticatorTokenCredentialRepository
org.apache.syncope.wa.starter.gauth.WAGoogleMfaAuthCredentialRepository
- All Implemented Interfaces:
org.apereo.cas.otp.repository.credentials.OneTimeTokenCredentialRepository
public class WAGoogleMfaAuthCredentialRepository
extends org.apereo.cas.gauth.credential.BaseGoogleAuthenticatorTokenCredentialRepository
-
Field Summary
FieldsFields inherited from class org.apereo.cas.gauth.credential.BaseGoogleAuthenticatorTokenCredentialRepository
BEAN_NAME, googleAuthenticator -
Constructor Summary
ConstructorsConstructorDescriptionWAGoogleMfaAuthCredentialRepository(WARestClient waRestClient, com.warrenstrange.googleauth.IGoogleAuthenticator googleAuthenticator) -
Method Summary
Modifier and TypeMethodDescriptionlongcount()longvoiddelete(long id) voidvoidorg.apereo.cas.authentication.OneTimeTokenAccountget(long id) Collection<? extends org.apereo.cas.authentication.OneTimeTokenAccount> org.apereo.cas.authentication.OneTimeTokenAccountCollection<? extends org.apereo.cas.authentication.OneTimeTokenAccount> load()protected org.apereo.cas.gauth.credential.GoogleAuthenticatorAccountprotected GoogleMfaAuthAccountmapOneTimeTokenAccount(org.apereo.cas.authentication.OneTimeTokenAccount otta) org.apereo.cas.authentication.OneTimeTokenAccountsave(org.apereo.cas.authentication.OneTimeTokenAccount otta) org.apereo.cas.authentication.OneTimeTokenAccountupdate(org.apereo.cas.authentication.OneTimeTokenAccount tokenAccount) Methods inherited from class org.apereo.cas.gauth.credential.BaseGoogleAuthenticatorTokenCredentialRepository
create, getGoogleAuthenticatorMethods inherited from class org.apereo.cas.otp.repository.credentials.BaseOneTimeTokenCredentialRepository
decode, decode, encode
-
Field Details
-
LOG
-
waRestClient
-
-
Constructor Details
-
WAGoogleMfaAuthCredentialRepository
public WAGoogleMfaAuthCredentialRepository(WARestClient waRestClient, com.warrenstrange.googleauth.IGoogleAuthenticator googleAuthenticator)
-
-
Method Details
-
mapGoogleMfaAuthAccount
protected org.apereo.cas.gauth.credential.GoogleAuthenticatorAccount mapGoogleMfaAuthAccount(GoogleMfaAuthAccount gmfaa) -
get
public org.apereo.cas.authentication.OneTimeTokenAccount get(long id) -
get
-
get
-
load
-
mapOneTimeTokenAccount
protected GoogleMfaAuthAccount mapOneTimeTokenAccount(org.apereo.cas.authentication.OneTimeTokenAccount otta) -
save
public org.apereo.cas.authentication.OneTimeTokenAccount save(org.apereo.cas.authentication.OneTimeTokenAccount otta) -
update
public org.apereo.cas.authentication.OneTimeTokenAccount update(org.apereo.cas.authentication.OneTimeTokenAccount tokenAccount) -
deleteAll
public void deleteAll() -
delete
-
delete
public void delete(long id) -
count
public long count() -
count
-