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
syncParameters
\Bitrix\Security\Mfa\Otp public \Bitrix\Security\Mfa\Otp::syncParameters( string $inputA, string|null $inputB = null );
Non-static method synchronizes user parameters for input. Can be used after generating and before saving. When something incorrect, prints OtpException
with correct description in the message.
Parameters
Parameter | Description | Version |
---|---|---|
$inputA | First code. | |
$inputB | Second code. |
Exceptions
\Bitrix\Security\Mfa\OtpException
Example
© «Bitrix24», 2001-2024
Up