public class TotpAuthOptions extends Object
Constructor and Description |
---|
TotpAuthOptions() |
TotpAuthOptions(int passwordLength,
int authAttemptsLimit,
long period) |
TotpAuthOptions(JsonObject jsonObject) |
Modifier and Type | Method and Description |
---|---|
int |
getAuthAttemptsLimit() |
int |
getPasswordLength() |
long |
getPeriod() |
boolean |
isUsingAttemptsLimit() |
TotpAuthOptions |
setAuthAttemptsLimit(int authAttemptsLimit) |
TotpAuthOptions |
setPasswordLength(int passwordLength) |
TotpAuthOptions |
setPeriod(long period) |
public TotpAuthOptions(JsonObject jsonObject)
public TotpAuthOptions()
public TotpAuthOptions(int passwordLength, int authAttemptsLimit, long period)
public int getPasswordLength()
public int getAuthAttemptsLimit()
public long getPeriod()
public TotpAuthOptions setPasswordLength(int passwordLength)
public TotpAuthOptions setAuthAttemptsLimit(int authAttemptsLimit)
public TotpAuthOptions setPeriod(long period)
public boolean isUsingAttemptsLimit()
Copyright © 2024 Eclipse. All rights reserved.