ЕСОЗ - публічна документація
2FA Configs
Configs
2FA & OTP configurable parameters:
Params | Type | Purpose |
---|---|---|
OTP_LIFETIME | integer | Life-time for OTP item |
OTP_LENGTH | integer | Length of OTP value |
USER_OTP_ERROR_MAX | integer | Maximum for entered in-error trying for OTP verification process for all user life-time. After excess of quantity entered in-error trying, status for user automatically sets to BLOCKED. |
OTP_SEND_TIMEOUT | integer | Time period which user can be create or refresh OTP (send SMS). |
OTP_SEND_COUNTER_MAX | integer | Maximum for trying create or refresh OTP (send SMS). After excess of quantity sending OTP above OTP_SEND_TIMEOUT user can't be create OTP and WS return error |
USER_2FA_ENABLED | boolean | Flag which determinate is a default activating 2FA for new user. |
MAX_FAILED_LOGINS | integer | Maximum for entered in-error trying for login+password verification. After excess of quantity entered in-error trying for MAX_FAILED_LOGINS_PERIOD user can't be login and WS return error |
MAX_FAILED_LOGINS_PERIOD | integer | Time period which user can be login with invalid password without error. |
ЕСОЗ - публічна документація