msol/identification

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Middleware for identify user by backoffice webservice

1.3 2018-06-12 13:44 UTC

This package is auto-updated.

Last update: 2021-10-10 18:35:00 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,
    ]
];