Package io.vertx.ext.auth.otp.totp
Class TotpAuthOptions
- java.lang.Object
- 
- io.vertx.ext.auth.otp.totp.TotpAuthOptions
 
- 
 public class TotpAuthOptions extends Object Options configuring TOTP authentication.- Author:
- Dmitry Novikov
 
- 
- 
Constructor SummaryConstructors Constructor Description TotpAuthOptions()TotpAuthOptions(int passwordLength, int authAttemptsLimit, long period)TotpAuthOptions(JsonObject jsonObject)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAuthAttemptsLimit()intgetPasswordLength()longgetPeriod()booleanisUsingAttemptsLimit()TotpAuthOptionssetAuthAttemptsLimit(int authAttemptsLimit)TotpAuthOptionssetPasswordLength(int passwordLength)TotpAuthOptionssetPeriod(long period)
 
- 
- 
- 
Constructor Detail- 
TotpAuthOptionspublic TotpAuthOptions(JsonObject jsonObject) 
 - 
TotpAuthOptionspublic TotpAuthOptions() 
 - 
TotpAuthOptionspublic TotpAuthOptions(int passwordLength, int authAttemptsLimit, long period)
 
- 
 - 
Method Detail- 
getPasswordLengthpublic int getPasswordLength() 
 - 
getAuthAttemptsLimitpublic int getAuthAttemptsLimit() 
 - 
getPeriodpublic long getPeriod() 
 - 
setPasswordLengthpublic TotpAuthOptions setPasswordLength(int passwordLength) 
 - 
setAuthAttemptsLimitpublic TotpAuthOptions setAuthAttemptsLimit(int authAttemptsLimit) 
 - 
setPeriodpublic TotpAuthOptions setPeriod(long period) 
 - 
isUsingAttemptsLimitpublic boolean isUsingAttemptsLimit() 
 
- 
 
-