Class HotpAuthOptions


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

      • HotpAuthOptions

        public HotpAuthOptions​(JsonObject jsonObject)
      • HotpAuthOptions

        public HotpAuthOptions()
      • HotpAuthOptions

        public HotpAuthOptions​(int passwordLength,
                               int authAttemptsLimit,
                               int lookAheadWindow)
    • Method Detail

      • 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)
      • isUsingAttemptsLimit

        public boolean isUsingAttemptsLimit()
      • isUsingResynchronization

        public boolean isUsingResynchronization()