ESET Secure Authentication SDK documentation
 All Classes Functions Variables
Public Member Functions | List of all members
com.eset.secureauthentication.sdk.TwoFactorConfiguration Class Reference
Inheritance diagram for com.eset.secureauthentication.sdk.TwoFactorConfiguration:
com.eset.secureauthentication.sdk.internal.TwoFactorSettings com.eset.secureauthentication.sdk.internal.ITwoFactorSettings

Public Member Functions

 TwoFactorConfiguration (String apiKey, String apiSecret, IUserStorage userStorage)
 
IUserStorage getUserStorage ()
 
IAuditor getAuditor ()
 
void setAuditor (IAuditor auditor)
 
ITextMessageSender getTextMessageSender ()
 
void setTextMessageSender (ITextMessageSender textMessageSender)
 
- Public Member Functions inherited from com.eset.secureauthentication.sdk.internal.TwoFactorSettings
 TwoFactorSettings (String apiKey, String apiSecret)
 
String getApiKey ()
 
String getApiSecret ()
 
String getTokenName ()
 
void setTokenName (String tokenName)
 
boolean getPINEnforced ()
 
void setPINEnforced (boolean pinEnforced)
 
String getAppInstallTextMessageText ()
 
void setAppInstallTextMessageText (String appInstallTextMessageText)
 
String getTextMessageOTPText ()
 
void setTextMessageOTPText (String textMessageOTPText)
 
int getMaxFailuresBeforeLocking ()
 
void setMaxFailuresBeforeLocking (int maxFailuresBeforeLocking)
 
int getTextMessageOTPLifetime ()
 
void setTextMessageOTPLifetime (int textMessageOTPLifetime)
 
int getSeedLength ()
 
int getOTPLength ()
 
int getTextMessageOTPLength ()
 
int getHOTPLookAheadWindow ()
 

Detailed Description

Configuration data.

Constructor & Destructor Documentation

com.eset.secureauthentication.sdk.TwoFactorConfiguration.TwoFactorConfiguration ( String  apiKey,
String  apiSecret,
IUserStorage  userStorage 
)
inline

Construct a new instance of com.eset.secureauthentication.sdk.TwoFactorConfiguration.

Parameters
apiKeyAPI key
apiSecretAPI secret
userStorageinstance of #com.eset.secureauthentication.sdk.IUserStorage

Member Function Documentation

IAuditor com.eset.secureauthentication.sdk.TwoFactorConfiguration.getAuditor ( )
inline
Returns
instance of #com.eset.secureauthentication.sdk.IAuditor that is currently being used by SDK for auditing security events
ITextMessageSender com.eset.secureauthentication.sdk.TwoFactorConfiguration.getTextMessageSender ( )
inline
Returns
the #com.eset.secureauthentication.sdk.ITextMessageSender instance that is currently being used for sending text messages
IUserStorage com.eset.secureauthentication.sdk.TwoFactorConfiguration.getUserStorage ( )
inline
Returns
instance of #com.eset.secureauthentication.sdk.IUserStorage that is currently being used by SDK for saving and loading user data
void com.eset.secureauthentication.sdk.TwoFactorConfiguration.setAuditor ( IAuditor  auditor)
inline

Set custom auditor.

Parameters
auditorthe #com.eset.secureauthentication.sdk.IAuditor instance that must be used for auditing security events
void com.eset.secureauthentication.sdk.TwoFactorConfiguration.setTextMessageSender ( ITextMessageSender  textMessageSender)
inline

Set custom text message sender.

Parameters
textMessageSenderthe #com.eset.secureauthentication.sdk.ITextMessageSender instance that must be used for sending text messages

The documentation for this class was generated from the following file: