mirror of
https://github.com/elyby/oauth2-server.git
synced 2026-11-30 03:03:18 +05:30
Merge pull request #448 from juliangut/validate_authenticated_request
V5 - rename validateRequest
This commit is contained in:
commit
4ab9c52767
6 files changed
+8
-8
No files matched your search
@@ -35,7 +35,7 @@ class ResourceServerMiddleware
|
||||
public function __invoke(ServerRequestInterface $request, ResponseInterface $response, callable $next)
|
||||
{
|
||||
try {
|
||||
$request = $this->server->validateRequest($request);
|
||||
$request = $this->server->validateAuthenticatedRequest($request);
|
||||
} catch (OAuthServerException $exception) {
|
||||
return $exception->generateHttpResponse($response);
|
||||
// @codeCoverageIgnoreStart
|
||||
|
||||
Reference in new issue
Block a user