English
php
2fa
totp
magic-links
authentication
security
framework
shinobi-apps-framework
2FA and magic links in PHP: TOTP and passwordless login without packages
Pure-PHP RFC 6238 TOTP: HMAC-SHA1 with dynamic truncation, base32 encode/decode, ±30-second drift window. Magic link login: 32-byte random token, 15-minute TTL, hash stored, raw in URL. Neither requires a Composer package.