Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\RestApi\RouteHandlers\Middleware\AuthenticationMiddleware Class Reference
+ Inheritance diagram for Wikibase\Repo\RestApi\RouteHandlers\Middleware\AuthenticationMiddleware:
+ Collaboration diagram for Wikibase\Repo\RestApi\RouteHandlers\Middleware\AuthenticationMiddleware:

Public Member Functions

 __construct (UserIdentityUtils $userIdentityUtils)
 
 run (Handler $routeHandler, callable $runNext)
 

Public Attributes

const USER_AUTHENTICATED_HEADER = 'X-Authenticated-User'
 

Private Attributes

UserIdentityUtils $userIdentityUtils
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\RouteHandlers\Middleware\AuthenticationMiddleware::__construct ( UserIdentityUtils $userIdentityUtils)

Member Function Documentation

◆ run()

Wikibase\Repo\RestApi\RouteHandlers\Middleware\AuthenticationMiddleware::run ( Handler $routeHandler,
callable $runNext )

Member Data Documentation

◆ $userIdentityUtils

UserIdentityUtils Wikibase\Repo\RestApi\RouteHandlers\Middleware\AuthenticationMiddleware::$userIdentityUtils
private

◆ USER_AUTHENTICATED_HEADER

const Wikibase\Repo\RestApi\RouteHandlers\Middleware\AuthenticationMiddleware::USER_AUTHENTICATED_HEADER = 'X-Authenticated-User'

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