SimplePassphraseFailureEnforcer
constructor(lockoutNumFailedAttempts: Int = 3, lockoutDuration: Duration = 60.seconds, clockFunction: () -> Instant = { Clock.System.now() })
Parameters
lockoutNumFailedAttempts
the number of failed passphrase attempts before a client is locked out.
lockoutDuration
the duration of the period to consider.
clockFunction
a function to give the current time (used only for unit tests).