D7 API documentation
What's New
Modules
activate
canSkipMandatory
canSkipMandatoryByRights
deactivate
defer
delete
getAlgorithm
getAppSecret
getAttempts
getAvailableTypes
getByType
getByUser
getContext
getDefaultType
getDeferredParams
getHexSecret
getInitialDate
getIssuer
getLabel
getMandatoryRights
getParams
getProvisioningUri
getSecret
getSkipMandatoryDays
getSyncParameters
getType
getTypesDescription
getUserId
getUserLogin
isActivated
isAttemptsReached
isCaptchaRequired
isMandatorySkipped
isMandatoryUsing
isOtpEnabled
isOtpRequired
isOtpRequiredByMandatory
isRecoveryCodesEnabled
regenerate
save
setActive
setAppSecret
setContext
setDefaultType
setDeferredParams
setHexSecret
setIssuer
setLabel
setMandatoryRights
setMandatoryUsing
setSecret
setSkipMandatoryDays
setType
setUserInfo
setUserLogin
syncParameters
verify
verifyUser
verifyUser
boolean public static \Bitrix\Security\Mfa\Otp::verifyUser( array $params );
Key method responsible for OTP verification. Execution of all the rest of methods depends on it. Static method.
Parameters
Parameter | Description | Version |
---|---|---|
$params | Verification parameters. |
Exceptions
- ArgumentTypeException (
Bitrix\Main\ArgumentTypeException
)
Example
© «Bitrix24», 2001-2024
Up