Uses of Record Class
com.irurueta.authserver.authorization.domain.ott.OneTimeCode
Packages that use OneTimeCode
Package
Description
Use cases of the one-time-code (e-mail and SMS) authentication factor: requesting, verifying and cleaning up codes,
and the policy beans they share.
One-time tokens: e-mail and SMS codes and magic links as a sign-in method.
PostgreSQL implementations of the one-time token ports: the codes of the email and SMS one-time code login (over the
ott_codes table) and the Spring Security one-time token service of the magic links (over the
one_time_tokens table).-
Uses of OneTimeCode in com.irurueta.authserver.authorization.application.ott
Methods in com.irurueta.authserver.authorization.application.ott with parameters of type OneTimeCodeModifier and TypeMethodDescriptionprivate OttVerificationResultVerifyOneTimeCodeUseCase.accept(OneTimeCode active) Consumes a correct code; a code consumed by a concurrent request is refused. -
Uses of OneTimeCode in com.irurueta.authserver.authorization.domain.ott
Methods in com.irurueta.authserver.authorization.domain.ott that return types with arguments of type OneTimeCodeModifier and TypeMethodDescriptionOneTimeCodeRepository.findActive(String bindingId, String username, Instant now) Finds the code that is still active for a binding and a user.Methods in com.irurueta.authserver.authorization.domain.ott with parameters of type OneTimeCodeModifier and TypeMethodDescriptionvoidOneTimeCodeRepository.save(OneTimeCode code) Stores a code, replacing any other active code of the same binding and user name so that only the latest one can be used. -
Uses of OneTimeCode in com.irurueta.authserver.authorization.infrastructure.persistence.ott
Methods in com.irurueta.authserver.authorization.infrastructure.persistence.ott that return OneTimeCodeModifier and TypeMethodDescriptionMaps the current row.Methods in com.irurueta.authserver.authorization.infrastructure.persistence.ott that return types with arguments of type OneTimeCodeModifier and TypeMethodDescriptionJdbcOneTimeCodeRepository.findActive(String bindingId, String username, Instant now) Methods in com.irurueta.authserver.authorization.infrastructure.persistence.ott with parameters of type OneTimeCode