public interface ITOTPConfiguration
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
boolean |
enabled()
Whether this configuration is active
|
String |
getClientId()
Provides TOTP Client Identifier
|
String |
getRoleName() |
List<Integer> |
getScratchCodes()
Randomly generated data that are optionally used as 'recovery passwords' in case
the token generator is not available.
|
String |
getUserServiceName() |
int |
getValidationCode() |
int |
getWindowSize() |
void |
setClientId(String clientId)
Sets new TOTP Client Identifier
|
void |
setRoleName(String roleName)
Sets the name of the role which members are subject to TOTP authorization
|
void |
setServiceEnabled(boolean serviceEnabled)
Activates or disables this configuration
|
void |
setSyncWindowSize(int syncWindowSize)
Sets the number of time-step windows that should be checked during the validation
process
|
void |
setTotpServiceName(String totpServiceName)
Sets the name of the One-Time Password service, responsible for two-factor identification
|
void setClientId(String clientId)
int getValidationCode() throws Exception
Exception
List<Integer> getScratchCodes() throws Exception
Exception
void setServiceEnabled(boolean serviceEnabled)
int getWindowSize() throws Exception
Exception
void setSyncWindowSize(int syncWindowSize)
String getUserServiceName() throws Exception
Exception
void setTotpServiceName(String totpServiceName)
String getRoleName() throws Exception
Exception
void setRoleName(String roleName)
Object clone() throws CloneNotSupportedException
CloneNotSupportedException