diff --git a/examples/relational/Storage/AccessTokenStorage.php b/examples/relational/Storage/AccessTokenStorage.php index 12bd7737..cb81c2ff 100644 --- a/examples/relational/Storage/AccessTokenStorage.php +++ b/examples/relational/Storage/AccessTokenStorage.php @@ -34,14 +34,6 @@ class AccessTokenStorage extends Adapter implements AccessTokenInterface return null; } - /** - * {@inheritdoc} - */ - public function getByRefreshToken(RefreshTokenEntity $refreshToken) - { - die(var_dump(__METHOD__, func_get_args())); - } - /** * {@inheritdoc} */ diff --git a/examples/relational/Storage/SessionStorage.php b/examples/relational/Storage/SessionStorage.php index 62e3ba3b..9c02b18f 100644 --- a/examples/relational/Storage/SessionStorage.php +++ b/examples/relational/Storage/SessionStorage.php @@ -13,14 +13,6 @@ use Illuminate\Database\Capsule\Manager as Capsule; class SessionStorage extends Adapter implements SessionInterface { - /** - * {@inheritdoc} - */ - public function get($token) - { - die(var_dump(__METHOD__, func_get_args())); - } - /** * {@inheritdoc} */ diff --git a/src/Storage/AccessTokenInterface.php b/src/Storage/AccessTokenInterface.php index 29477818..fefa1fc1 100644 --- a/src/Storage/AccessTokenInterface.php +++ b/src/Storage/AccessTokenInterface.php @@ -28,13 +28,6 @@ interface AccessTokenInterface */ public function get($token); - /** - * Get the access token associated with an access token - * @param \League\OAuth2\Server\Entity\RefreshTokenEntity $refreshToken - * @return \League\OAuth2\Server\Entity\AccessTokenEntity - */ - public function getByRefreshToken(RefreshTokenEntity $refreshToken); - /** * Get the scopes for an access token * @param \League\OAuth2\Server\Entity\AbstractTokenEntity $token The access token diff --git a/src/Storage/SessionInterface.php b/src/Storage/SessionInterface.php index dddb2b63..3a1b1c33 100644 --- a/src/Storage/SessionInterface.php +++ b/src/Storage/SessionInterface.php @@ -21,13 +21,6 @@ use League\OAuth2\Server\Entity\ScopeEntity; */ interface SessionInterface { - /** - * Get a session from it's identifier - * @param string $sessionId - * @return \League\OAuth2\Server\Entity\SessionEntity - */ - public function get($sessionId); - /** * Get a session from an access token * @param \League\OAuth2\Server\Entity\AccessTokenEntity $accessToken The access token