PHP Classes

File: docs/api/support.rst

Recommend this page to a friend!
  Packages of A. B. M. Mahmudul Hasan   OTP   docs/api/support.rst   Download  
File: docs/api/support.rst
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: OTP
Generate token to be verified during a time window
Author: By
Last change:
Date: 20 days ago
Size: 1,328 bytes
 

Contents

Class file image Download
Support Components ================== The support layer provides focused utilities instead of one large shared trait. Available components -------------------- - ``Infocyph\OTP\Support\AlgorithmValidator`` - ``Infocyph\OTP\Support\SecretUtility`` - ``Infocyph\OTP\Support\LabelHelper`` - ``Infocyph\OTP\Support\OtpMath`` - ``Infocyph\OTP\Support\ProvisioningUriBuilder`` - ``Infocyph\OTP\Support\ProvisioningUriParser`` - ``Infocyph\OTP\Support\SvgQrRenderer`` - ``Infocyph\OTP\Support\StepUp`` Value objects ------------- - ``Infocyph\OTP\ValueObjects\VerificationWindow`` - ``Infocyph\OTP\ValueObjects\ParsedOtpAuthUri`` - ``Infocyph\OTP\ValueObjects\EnrollmentPayload`` - ``Infocyph\OTP\ValueObjects\OcraSuite`` - ``Infocyph\OTP\ValueObjects\DeviceEnrollment`` - ``Infocyph\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()``