Uses of Record Class
com.irurueta.authserver.authorization.application.ott.OttVerificationResult
Packages that use OttVerificationResult
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.
-
Uses of OttVerificationResult in com.irurueta.authserver.authorization.application.ott
Fields in com.irurueta.authserver.authorization.application.ott declared as OttVerificationResultModifier and TypeFieldDescriptionprivate static final OttVerificationResultOttVerificationResult.FAILUREResult of a wrong, expired, burnt or already used code.private static final OttVerificationResultOttVerificationResult.LOCKEDResult when the second factor of the user is locked.Methods in com.irurueta.authserver.authorization.application.ott that return OttVerificationResultModifier and TypeMethodDescriptionprivate OttVerificationResultVerifyOneTimeCodeUseCase.accept(OneTimeCode active) Consumes a correct code; a code consumed by a concurrent request is refused.private OttVerificationResultVerifyOneTimeCodeUseCase.check(String bindingId, String username, String code, OttPurpose purpose, Set<OttChannel> channels) Checks a code against the active one, counting the attempt.VerifyOneTimeCodeUseCase.execute(String bindingId, String username, String code, OttPurpose purpose, Set<OttChannel> channels) Verifies a code.static OttVerificationResultOttVerificationResult.failure()Returns the result of a rejected code.static OttVerificationResultOttVerificationResult.locked()Returns the result of a locked second factor.static OttVerificationResultOttVerificationResult.success(OttChannel channel) Creates the result of an accepted code.Methods in com.irurueta.authserver.authorization.application.ott with parameters of type OttVerificationResultModifier and TypeMethodDescriptionprivate voidVerifyOneTimeCodeUseCase.recordSecondFactorOutcome(OttVerificationResult result, UserAccount account) Counts the outcome of a second-factor verification.