final class ApiAuthorizationMiddleware implements MiddlewareInterface (View source)

Methods

__construct(ApiEndpointRegistry $endpoints, ApiAuthenticatorInterface $authenticator, ScopeVoter $scopeVoter, ProblemDetailsFactory $problems, ApiConfig $apiConfig, AppConfig $appConfig)
ResponseInterface
process(ServerRequestInterface $request, RequestHandlerInterface $handler)
ResponseInterface

Details

__construct

__construct(ApiEndpointRegistry $endpoints, ApiAuthenticatorInterface $authenticator, ScopeVoter $scopeVoter, ProblemDetailsFactory $problems, ApiConfig $apiConfig, AppConfig $appConfig)

No description

Parameters

ApiEndpointRegistry $endpoints
ApiAuthenticatorInterface $authenticator
ScopeVoter $scopeVoter
ProblemDetailsFactory $problems
ApiConfig $apiConfig
AppConfig $appConfig

process

ResponseInterface process(ServerRequestInterface $request, RequestHandlerInterface $handler)

No description

Parameters

ServerRequestInterface $request
RequestHandlerInterface $handler

Return Value

ResponseInterface