msol/identification

Middleware for identify user by backoffice webservice

Installs: 17

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/msol/identification

1.3 2018-06-12 13:44 UTC

This package is auto-updated.

Last update: 2025-10-11 03:24:34 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,
    ]
];