mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-05-31 14:12:07 +05:30
rename determineAccessTokenInHeader
This commit is contained in:
@@ -157,9 +157,9 @@ class Server implements EmitterAwareInterface
|
||||
*
|
||||
* @throws \League\OAuth2\Server\Exception\OAuthServerException
|
||||
*/
|
||||
public function validateRequest(ServerRequestInterface $request)
|
||||
public function validateAuthenticatedRequest(ServerRequestInterface $request)
|
||||
{
|
||||
return $this->getResponseType()->determineAccessTokenInHeader($request);
|
||||
return $this->getResponseType()->validateAccessToken($request);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user