Class HotpAuthOptions
java.lang.Object
io.vertx.ext.auth.otp.hotp.HotpAuthOptions
Options configuring HOTP authentication.
- Author:
- Dmitry Novikov
-
Constructor Summary
ConstructorsConstructorDescriptionHotpAuthOptions(int passwordLength, int authAttemptsLimit, int lookAheadWindow) HotpAuthOptions(JsonObject jsonObject) -
Method Summary
Modifier and TypeMethodDescriptionintlongintintbooleanbooleansetAuthAttemptsLimit(int authAttemptsLimit) setCounter(long counter) setLookAheadWindow(int lookAheadWindow) setPasswordLength(int passwordLength)
-
Constructor Details
-
HotpAuthOptions
-
HotpAuthOptions
public HotpAuthOptions() -
HotpAuthOptions
public HotpAuthOptions(int passwordLength, int authAttemptsLimit, int lookAheadWindow)
-
-
Method Details
-
getPasswordLength
public int getPasswordLength() -
getAuthAttemptsLimit
public int getAuthAttemptsLimit() -
getLookAheadWindow
public int getLookAheadWindow() -
getCounter
public long getCounter() -
setPasswordLength
-
setAuthAttemptsLimit
-
setLookAheadWindow
-
setCounter
-
isUsingAttemptsLimit
public boolean isUsingAttemptsLimit() -
isUsingResynchronization
public boolean isUsingResynchronization()
-