msol / identification
Middleware for identify user by backoffice webservice
1.3
2018-06-12 13:44 UTC
Requires
- illuminate/support: >=5.4
This package is auto-updated.
Last update: 2024-04-11 00:07:07 UTC
README
Middleware for identify user by backoffice webservice
Need
config + session + log + input
Use
constants domains {domain} limiter constants domains {domain} defaultUrlSubscription
Get
(cookie) u (get param) u (get param) userId
Set
(session) limiterType (session) subscriptionActive (session) userId
Install
You can install the package via composer:
$ composer require msol/identification
Next, the \Msol\Identification\Middleware\IdentificationMiddleware::class
-middleware must be registered in the kernel:
//app/Http/Kernel.php protected $middlewareGroups = [ 'web' => [ ... \Msol\Identification\Middleware\IdentificationMiddleware::class, ] ];