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.
Table of contents
Download arietimmerman/laravel-authchain
More information about arietimmerman/laravel-authchain
Files in arietimmerman/laravel-authchain
Download arietimmerman/laravel-authchain
More information about arietimmerman/laravel-authchain
Files in arietimmerman/laravel-authchain
Vendor arietimmerman
Package laravel-authchain
Short Description Laravel Package for creating a authentication chain
License MIT
Package laravel-authchain
Short Description Laravel Package for creating a authentication chain
License MIT
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
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
The package arietimmerman/laravel-authchain contains the following files
Loading the files please wait ....