From 03391e963061907a3993720e9b679178284e1bee Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Sun, 17 Jan 2016 12:58:15 +0000 Subject: [PATCH] Removed old access denied exception --- src/Exception/AccessDeniedException.php | 36 ------------------------- 1 file changed, 36 deletions(-) delete mode 100644 src/Exception/AccessDeniedException.php diff --git a/src/Exception/AccessDeniedException.php b/src/Exception/AccessDeniedException.php deleted file mode 100644 index e5d84b61..00000000 --- a/src/Exception/AccessDeniedException.php +++ /dev/null @@ -1,36 +0,0 @@ - - * @copyright Copyright (c) Alex Bilbie - * @license http://mit-license.org/ - * @link https://github.com/thephpleague/oauth2-server - */ - -namespace League\OAuth2\Server\Exception; - -/** - * Exception class - */ -class AccessDeniedException extends OAuthException -{ - /** - * {@inheritdoc} - */ - public $httpStatusCode = 401; - - /** - * {@inheritdoc} - */ - public $errorType = 'access_denied'; - - /** - * {@inheritdoc} - */ - public function __construct() - { - parent::__construct('The resource owner or authorization server denied the request.'); - } -}