Removed validateAccessToken from abstract response type

This commit is contained in:
Alex Bilbie 2016-03-15 21:20:59 +00:00
parent e946c1e106
commit 472ec68bbe

View File

@ -73,16 +73,4 @@ abstract class AbstractResponseType implements ResponseTypeInterface
{ {
$this->refreshToken = $refreshToken; $this->refreshToken = $refreshToken;
} }
/**
* {@inheritdoc}
*/
public function validateAccessToken(ServerRequestInterface $request)
{
if ($request->hasHeader('authorization') === false) {
throw OAuthServerException::accessDenied('Missing "Authorization" header');
}
return $request;
}
} }