MediaWiki REL1_39
BasicAuthorizerInterface.php
Go to the documentation of this file.
1<?php
2
4
7
27 public function authorize( RequestInterface $request, Handler $handler );
28}
Base class for REST route handlers.
Definition Handler.php:20
An interface used by Router to ensure that the client has "basic" access, i.e.
authorize(RequestInterface $request, Handler $handler)
Determine whether a request should be permitted, given the handler's needsReadAccess() and needsWrite...
A request interface similar to PSR-7's ServerRequestInterface.
Copyright (C) 2011-2020 Wikimedia Foundation and others.