Lemonade\Framework\Security\Totp
Namespaces
Classes
Holds interoperable TOTP parameters without selecting an issuer, identity, or MFA policy.
Builds a standard otpauth URI and leaves QR rendering and delivery entirely to the consumer.
Holds a canonical, minimum-strength Base32 TOTP secret without implicit string conversion.
Creates new 160-bit TOTP credentials using PHP's operating-system CSPRNG only.
Reports whether a code matched and, only on success, which counter step a host may consume for replay protection.
Verifies a fixed-width TOTP code at the framework clock without retaining replay or identity state.
Limits clock-skew acceptance around the current time-step to a small fixed maximum.