Download the PHP package componenta/auth-magic-link without Composer
On this page you can find all versions of the php package componenta/auth-magic-link. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download componenta/auth-magic-link
More information about componenta/auth-magic-link
Files in componenta/auth-magic-link
Package auth-magic-link
Short Description Pre-auth-bound magic-link authentication for Componenta Auth 3
License MIT
Informations about the package auth-magic-link
Componenta Auth Magic Link
Magic-link authentication for Componenta Auth 3.
The default browser profile is same-browser only. Requesting a link creates a
short-lived pre-authentication transaction. The delivery adapter must put both
the opaque one-time token and the public pre-auth transaction UUID (binding)
into the link.
The landing page POSTs both values to the verify endpoint while the browser also presents the HttpOnly pre-auth cookie and memory-held request token. The binding UUID must match that exact browser transaction before the one-time token is consumed. This prevents login-CSRF/session-swapping and intentionally does not model cross-device magic links.
One-time bearer persistence is delegated to componenta/auth-token.
Magic-link evidence is intentionally classified as one_time_link, not as a
generic possession factor and not as phishing resistant. In particular, an
email-delivered link must not accidentally satisfy an assurance policy that
expects a cryptographic possession authenticator.
Version 2 compatibility
This line requires componenta/auth-session-http ^2.0.1, and therefore the
CSRF v3 browser security contract. Unsafe CSRF-protected requests must include
valid Origin/Referer evidence as well as an admitted CSRF token; missing source
metadata is denied, not bypassed.
See CHANGELOG.md for coordinated migration details. Authentication still uses Componenta Auth's shared session issuer.
All versions of auth-magic-link with dependencies
componenta/auth Version ^3.0
componenta/auth-http Version ^1.0
componenta/auth-session Version ^1.0
componenta/auth-session-http Version ^2.0.1
componenta/auth-token Version ^1.0
componenta/identity Version ^1.0.1
psr/http-factory Version ^1.0
psr/http-message Version ^2.0
psr/http-server-handler Version ^1.0