Support Components#
The support layer provides focused utilities instead of one large shared trait.
Available components#
Infocyph\OTP\Support\AlgorithmValidatorInfocyph\OTP\Support\SecretUtilityInfocyph\OTP\Support\LabelHelperInfocyph\OTP\Support\OtpMathInfocyph\OTP\Support\ProvisioningUriBuilderInfocyph\OTP\Support\ProvisioningUriParserInfocyph\OTP\Support\SvgQrRendererInfocyph\OTP\Support\StepUp
Value objects#
Infocyph\OTP\ValueObjects\VerificationWindowInfocyph\OTP\ValueObjects\ParsedOtpAuthUriInfocyph\OTP\ValueObjects\EnrollmentPayloadInfocyph\OTP\ValueObjects\OcraSuiteInfocyph\OTP\ValueObjects\DeviceEnrollmentInfocyph\OTP\ValueObjects\SecretRotation
Notable helper responsibilities#
StepUp#
Provides small policy helpers for “fresh OTP required” decisions:
requiresFreshOtp()verifiedWithin()ageInSeconds()assess()
DeviceEnrollment#
Provides a lightweight lifecycle model for factor enrollment records:
create()activate()revoke()rename()withSecretReference()isPendingActivation()isActive()isRevoked()