Class HotpAuthOptions

java.lang.Object
io.vertx.ext.auth.otp.hotp.HotpAuthOptions

public class HotpAuthOptions extends Object
Options configuring HOTP authentication.
Author:
Dmitry Novikov
  • Constructor Details

    • HotpAuthOptions

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

      public HotpAuthOptions setPasswordLength(int passwordLength)
    • setAuthAttemptsLimit

      public HotpAuthOptions setAuthAttemptsLimit(int authAttemptsLimit)
    • setLookAheadWindow

      public HotpAuthOptions setLookAheadWindow(int lookAheadWindow)
    • setCounter

      public HotpAuthOptions setCounter(long counter)
    • isUsingAttemptsLimit

      public boolean isUsingAttemptsLimit()
    • isUsingResynchronization

      public boolean isUsingResynchronization()