Public Member Functions | |
__construct ($apiKey, $apiSecret) | |
getApiKey () | |
getApiSecret () | |
getTokenName () | |
setTokenName ($value) | |
getPinEnforced () | |
setPinEnforced ($value) | |
getAppInstallTextMessageText () | |
setAppInstallTextMessageText ($value) | |
getTextMessageOtpText () | |
setTextMessageOtpText ($value) | |
getMaxFailuresBeforeLocking () | |
setMaxFailuresBeforeLocking ($value) | |
getTextMessageOtpLifetime () | |
setTextMessageOtpLifetime ($value) | |
getSeedLength () | |
getOtpLength () | |
getTextMessageOtpLength () | |
getHotpLookAheadWindow () | |
ESET\SecureAuthentication\SDK\Internal\TwoFactorSettings::__construct | ( | $apiKey, | |
$apiSecret | |||
) |
Create a new TwoFactorSettings object
string | $apiKey | API key |
string | $apiSecret | API secret |
ESET\SecureAuthentication\SDK\Internal\TwoFactorSettings::getApiKey | ( | ) |
Retrieve the API key
Implements ESET\SecureAuthentication\SDK\Internal\ITwoFactorSettings.
ESET\SecureAuthentication\SDK\Internal\TwoFactorSettings::getApiSecret | ( | ) |
Retrieve the API secret
Implements ESET\SecureAuthentication\SDK\Internal\ITwoFactorSettings.
ESET\SecureAuthentication\SDK\Internal\TwoFactorSettings::getAppInstallTextMessageText | ( | ) |
Retrieve the text message template used when sending app install URLs
Implements ESET\SecureAuthentication\SDK\Internal\ITwoFactorSettings.
ESET\SecureAuthentication\SDK\Internal\TwoFactorSettings::getMaxFailuresBeforeLocking | ( | ) |
Retrieve the maximum number of consecutive login failures before an account is locked
Implements ESET\SecureAuthentication\SDK\Internal\ITwoFactorSettings.
ESET\SecureAuthentication\SDK\Internal\TwoFactorSettings::getPinEnforced | ( | ) |
Retrieve the PIN enforcement value
Implements ESET\SecureAuthentication\SDK\Internal\ITwoFactorSettings.
ESET\SecureAuthentication\SDK\Internal\TwoFactorSettings::getTextMessageOtpLifetime | ( | ) |
Retrieve the number of minutes for which a text message OTP remains valid
Implements ESET\SecureAuthentication\SDK\Internal\ITwoFactorSettings.
ESET\SecureAuthentication\SDK\Internal\TwoFactorSettings::getTextMessageOtpText | ( | ) |
Retrieve the text message template used when sending text message OTPs
Implements ESET\SecureAuthentication\SDK\Internal\ITwoFactorSettings.
ESET\SecureAuthentication\SDK\Internal\TwoFactorSettings::getTokenName | ( | ) |
Retrieve the token name used in the mobile app
Implements ESET\SecureAuthentication\SDK\Internal\ITwoFactorSettings.
ESET\SecureAuthentication\SDK\Internal\TwoFactorSettings::setAppInstallTextMessageText | ( | $value | ) |
Set the text message template used when sending app install URLs
The template must contain the value of the Constants::APP_INSTALL_TEXT_MESSAGE_TEXT_URL_PLACEHOLDER constant.
ESET\SecureAuthentication\SDK\Internal\TwoFactorSettings::setMaxFailuresBeforeLocking | ( | $value | ) |
Set the maximum number of consecutive login failures before an account is locked
int | $value | 3 <= $value <= 30 |
ESET\SecureAuthentication\SDK\Internal\TwoFactorSettings::setPinEnforced | ( | $value | ) |
Set the PIN enforcement value
bool | $value | True: PINs are required by the mobile app; False: PINs are optional |
ESET\SecureAuthentication\SDK\Internal\TwoFactorSettings::setTextMessageOtpLifetime | ( | $value | ) |
Set the number of minutes for which a text message OTP remains valid
int | $value | 5 <= $value <= 60 |
\ESET\SecureAuthentication\SDK\Exceptions\ArgumentOutOfRangeException |
ESET\SecureAuthentication\SDK\Internal\TwoFactorSettings::setTextMessageOtpText | ( | $value | ) |
Set the text message template used when sending text message OTPs
The template must contain the value of the Constants::TEXT_MESSAGE_OTP_TEXT_OTP_PLACEHOLDER constant.
ESET\SecureAuthentication\SDK\Internal\TwoFactorSettings::setTokenName | ( | $value | ) |
Set the token name used in the mobile app
Only takes effect when provisioning a new mobile app
string | $value |