Class TotpAuthOptions


  • public class TotpAuthOptions
    extends Object
    Options configuring TOTP authentication.
    Author:
    Dmitry Novikov
    • Constructor Detail

      • TotpAuthOptions

        public TotpAuthOptions​(JsonObject jsonObject)
      • TotpAuthOptions

        public TotpAuthOptions()
      • TotpAuthOptions

        public TotpAuthOptions​(int passwordLength,
                               int authAttemptsLimit,
                               long period)
    • Method Detail

      • getPasswordLength

        public int getPasswordLength()
      • getAuthAttemptsLimit

        public int getAuthAttemptsLimit()
      • getPeriod

        public long getPeriod()
      • setPasswordLength

        public TotpAuthOptions setPasswordLength​(int passwordLength)
      • setAuthAttemptsLimit

        public TotpAuthOptions setAuthAttemptsLimit​(int authAttemptsLimit)
      • isUsingAttemptsLimit

        public boolean isUsingAttemptsLimit()