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 Details

    • TotpAuthOptions

      public TotpAuthOptions(JsonObject jsonObject)
    • 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

      public TotpAuthOptions setPasswordLength(int passwordLength)
    • setAuthAttemptsLimit

      public TotpAuthOptions setAuthAttemptsLimit(int authAttemptsLimit)
    • setPeriod

      public TotpAuthOptions setPeriod(long period)
    • isUsingAttemptsLimit

      public boolean isUsingAttemptsLimit()