public class CachingOneTimeTokenRepository extends BaseOneTimeTokenRepository
CachingOneTimeTokenRepository.| Constructor and Description |
|---|
CachingOneTimeTokenRepository() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanInternal()
Clean internal.
|
org.apereo.cas.authentication.OneTimeToken |
get(java.lang.String uid,
java.lang.Integer otp)
Get one time token.
|
void |
store(org.apereo.cas.authentication.OneTimeToken token)
Store token/code in the repository, marking it as invalid to be reused again.
|
cleanclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexistspublic void cleanInternal()
BaseOneTimeTokenRepositorycleanInternal in class BaseOneTimeTokenRepositorypublic void store(org.apereo.cas.authentication.OneTimeToken token)
OneTimeTokenRepositorytoken - the tokenpublic org.apereo.cas.authentication.OneTimeToken get(java.lang.String uid,
java.lang.Integer otp)
OneTimeTokenRepositoryuid - the uidotp - the opt