Interface AttemptRule
- All Known Implementing Classes:
AttemptRuleDefault
public interface AttemptRule
An attempt rule.
You need to register those using
AttemptsManager.registerAttempRule(AttemptRule)
.
-
Method Summary
Modifier and TypeMethodDescriptionThe action to protect.The duration in which a maximum number of attempts is allowed.int
The number of allowed attempts in a given duration.