From ab760a805c36484bf8d522ae1ce7fda35c0ead99 Mon Sep 17 00:00:00 2001 From: Andrew Millington Date: Mon, 6 Nov 2017 21:19:07 +0000 Subject: [PATCH] Remove default scope from abstract grant This should be added to the AbstractAuthorizeGrant instead as it is only used for an authorization request --- src/Grant/AbstractGrant.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/Grant/AbstractGrant.php b/src/Grant/AbstractGrant.php index bbb9efc0..297bce2b 100644 --- a/src/Grant/AbstractGrant.php +++ b/src/Grant/AbstractGrant.php @@ -56,11 +56,6 @@ abstract class AbstractGrant implements GrantTypeInterface */ protected $scopeRepository; - /** - * @var string - */ - protected $defaultScope = ''; - /** * @var AuthCodeRepositoryInterface */ @@ -110,14 +105,6 @@ abstract class AbstractGrant implements GrantTypeInterface $this->scopeRepository = $scopeRepository; } - /** - * @param string $scope - */ - public function setDefaultScope($scope) - { - $this->defaultScope = $scope; - } - /** * @param RefreshTokenRepositoryInterface $refreshTokenRepository */