FOSSology  3.2.0rc1
Open Source License Compliance by Open Source Software
Fossology\UI\Api\Middlewares\RestAuthMiddleware Class Reference

Authentication middleware for Slim framework. More...

Collaboration diagram for Fossology\UI\Api\Middlewares\RestAuthMiddleware:
Collaboration graph

Public Member Functions

 __invoke ($request, $response, $next)
 

Detailed Description

Authentication middleware for Slim framework.

Definition at line 38 of file RestAuthMiddleware.php.

Member Function Documentation

Fossology\UI\Api\Middlewares\RestAuthMiddleware::__invoke (   $request,
  $response,
  $next 
)

Check authentication for all calls, except for /auth, /tokens

Parameters
ServerRequestInterface$requestPSR7 request
ResponseInterface$responsePSR7 response
callable$nextNext middleware
Returns
ResponseInterface

Definition at line 49 of file RestAuthMiddleware.php.


The documentation for this class was generated from the following file: