Download the PHP package arietimmerman/laravel-authchain without Composer

On this page you can find all versions of the php package arietimmerman/laravel-authchain. 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 laravel-authchain

Laravel Authentication Chain

This is a general purpose authentication chain that can be use for all authentication methods and federation protocols.

This module is used by Idaas.nl.

This module is work in progress

Installation

Ensure you exclude authchain requests from CSRF verification.

class VerifyCsrfToken extends Middleware
{
    /**
     * The URIs that should be excluded from CSRF verification.
     *
     * @var array
     */
    protected $except = [
        '/saml/v2/*',
        '/authchain/*'
    ];
}

Enable the routes in your routes/web.php file.

~~~.php \ArieTimmerman\Laravel\AuthChain\Providers\RouteProvider::routes();


The full user details can be retrieved using

~~~.php
ArieTimmerman\Laravel\AuthChain\Object\Eloquent\Subject::find(id);

Extend Subject.

Register new module types with.

~~~.php AuthChain::addType('\ArieTimmerman\Laravel\AuthChain\Types\Password');



# Design considerations

## Module

A Module is of a certain Type.

## Subject

A Subject is an authenticated resource owner.
Each time someone logs in, a new subject is created. The Subject MAY be linked to an user via a Link.
The Link holds a user identifier and the static subject identifier.

The reason for this is to allow different subjects to exist as the same time. For example the same Facebook user from the same 

The authenticated subject identifier is based upon the first subject in the chain

Identity has one or more subjects!

During the Chain with have a living subject. Each module may emit a living subject.

After the authentication chain has been completed, the subject is saved. The saved subject is authenticated.

## Authentication response

An AuthResponse can be generated from a State. The State contains all state details. The AuthReponse contains informative information on how to meet the state requirements.

# How it works.

If no authentication level is specified, AuthChain enforces the user to complete all modules he faces.

For example, even if a second-factor is not required by the application, the user MUST still complete it, if he has configured this.

# TODO

TODO: Remove dependy to \App\User and possible other optional laravel classes

All versions of laravel-authchain with dependencies

PHP Build Version
Package Version
Requires php Version >7
illuminate/auth Version ^7.0|^8.0|^9.0
illuminate/console Version ^7.0|^8.0|^9.0
illuminate/container Version ^7.0|^8.0|^9.0
illuminate/contracts Version ^7.0|^8.0|^9.0
illuminate/database Version ^7.0|^8.0|^9.0
illuminate/encryption Version ^7.0|^8.0|^9.0
illuminate/hashing Version ^7.0|^8.0|^9.0
illuminate/http Version ^7.0|^8.0|^9.0
illuminate/support Version ^7.0|^8.0|^9.0
sdboyer/gliph Version ^0.7.0
defuse/php-encryption Version ^2.1
moontoast/math Version ^1.1
lcobucci/jwt Version ^4
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 arietimmerman/laravel-authchain contains the following files

Loading the files please wait ....