Documentation

HotpAlgorithm

HotpAlgorithm class for implementing counter-dependent one-time passwords (HMAC-Based One-time Password, HOTP). Descendant from OtpAlgorithm (\Bitrix\Security\Mfa\OtpAlgorithm).

Method Description Available from version
generateUri Generates link for connecting mobile device with OTP according to KeyUriFormat.
getDescription Returns algorithm description.
getSyncParameters Returns user synchronization parameters.
setSecret Sets a new secret.
verify Confirms inputted data.


© «Bitrix24», 2001-2024