diff --git a/src/AbstractServer.php b/src/AbstractServer.php index 3cdf14ea..7d4ba202 100644 --- a/src/AbstractServer.php +++ b/src/AbstractServer.php @@ -15,6 +15,7 @@ use League\Event\Emitter; use League\OAuth2\Server\Storage\AccessTokenInterface; use League\OAuth2\Server\Storage\AuthCodeInterface; use League\OAuth2\Server\Storage\ClientInterface; +use League\OAuth2\Server\Storage\MacTokenInterface; use League\OAuth2\Server\Storage\RefreshTokenInterface; use League\OAuth2\Server\Storage\ScopeInterface; use League\OAuth2\Server\Storage\SessionInterface; @@ -75,6 +76,11 @@ abstract class AbstractServer */ protected $clientStorage; + /** + * @var \League\OAuth2\Server\Storage\MacTokenInterface + */ + protected $macStorage; + /** * Token type * @@ -332,4 +338,20 @@ abstract class AbstractServer { return $this->tokenType; } + + /** + * @return MacTokenInterface + */ + public function getMacStorage() + { + return $this->macStorage; + } + + /** + * @param MacTokenInterface $macStorage + */ + public function setMacStorage(MacTokenInterface $macStorage) + { + $this->macStorage = $macStorage; + } }