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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

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

PHP Build Version
Package Version
Requires php Version ^8.4
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
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package componenta/auth-magic-link contains the following files

Loading the files please wait ...