Class TotpAuthOptions
java.lang.Object
io.vertx.ext.auth.otp.totp.TotpAuthOptions
Options configuring TOTP authentication.
- Author:
- Dmitry Novikov
-
Constructor Summary
ConstructorsConstructorDescriptionTotpAuthOptions(int passwordLength, int authAttemptsLimit, long period) TotpAuthOptions(JsonObject jsonObject) -
Method Summary
Modifier and TypeMethodDescriptionintintlongbooleansetAuthAttemptsLimit(int authAttemptsLimit) setPasswordLength(int passwordLength) setPeriod(long period)
-
Constructor Details
-
TotpAuthOptions
-
TotpAuthOptions
public TotpAuthOptions() -
TotpAuthOptions
public TotpAuthOptions(int passwordLength, int authAttemptsLimit, long period)
-
-
Method Details
-
getPasswordLength
public int getPasswordLength() -
getAuthAttemptsLimit
public int getAuthAttemptsLimit() -
getPeriod
public long getPeriod() -
setPasswordLength
-
setAuthAttemptsLimit
-
setPeriod
-
isUsingAttemptsLimit
public boolean isUsingAttemptsLimit()
-