AuthorizationCheckerInterface
in

Determines if authorization is successful for a given request processor.

Table of Contents

Methods

authorize()  : RequestProcessorInterface|ResponseInterface
Returns the request processor when authorization is successful or a PSR-7 HTTP response when it is not.

Methods

authorize()

Returns the request processor when authorization is successful or a PSR-7 HTTP response when it is not.

public authorize(RequestProcessorInterface $requestProcessor, ServerRequestInterface $request) : RequestProcessorInterface|ResponseInterface
Parameters
$requestProcessor : RequestProcessorInterface
$request : ServerRequestInterface
Return values
RequestProcessorInterface|ResponseInterface

        
On this page

Search results