class OAuthAuthenticationMiddleware implements MiddlewareInterface (View source)

Properties

private ResourceServer $oauth
private GuzzleFactory $psrFactory
private HttpFoundationFactory $foundationFactory
private Application $app

Methods

__construct(ResourceServer $oauth, GuzzleFactory $psrFactory, UserInfoRepository $userRepository, HttpFoundationFactory $foundationFactory)

No description

Response
process(Request $request, DelegateInterface $frame)

Process the request and return a response

Details

__construct(ResourceServer $oauth, GuzzleFactory $psrFactory, UserInfoRepository $userRepository, HttpFoundationFactory $foundationFactory)

No description

Parameters

ResourceServer $oauth
GuzzleFactory $psrFactory
UserInfoRepository $userRepository
HttpFoundationFactory $foundationFactory

Response process(Request $request, DelegateInterface $frame)

Process the request and return a response

Parameters

Request $request
DelegateInterface $frame

Return Value

Response

Exceptions

OAuthServerException