Remove default scope from abstract grant

This should be added to the AbstractAuthorizeGrant instead as it is 
only used for an authorization request
This commit is contained in:
Andrew Millington 2017-11-06 21:19:07 +00:00
parent bd2cdaf5da
commit ab760a805c

View File

@ -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
*/