Removed unnecessary methods

This commit is contained in:
Alex Bilbie 2014-08-06 08:41:50 +01:00
parent 12ab753f15
commit 71ac21b70e
4 changed files with 0 additions and 30 deletions

View File

@ -34,14 +34,6 @@ class AccessTokenStorage extends Adapter implements AccessTokenInterface
return null; return null;
} }
/**
* {@inheritdoc}
*/
public function getByRefreshToken(RefreshTokenEntity $refreshToken)
{
die(var_dump(__METHOD__, func_get_args()));
}
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */

View File

@ -13,14 +13,6 @@ use Illuminate\Database\Capsule\Manager as Capsule;
class SessionStorage extends Adapter implements SessionInterface class SessionStorage extends Adapter implements SessionInterface
{ {
/**
* {@inheritdoc}
*/
public function get($token)
{
die(var_dump(__METHOD__, func_get_args()));
}
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */

View File

@ -28,13 +28,6 @@ interface AccessTokenInterface
*/ */
public function get($token); 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 * Get the scopes for an access token
* @param \League\OAuth2\Server\Entity\AbstractTokenEntity $token The access token * @param \League\OAuth2\Server\Entity\AbstractTokenEntity $token The access token

View File

@ -21,13 +21,6 @@ use League\OAuth2\Server\Entity\ScopeEntity;
*/ */
interface SessionInterface 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 * Get a session from an access token
* @param \League\OAuth2\Server\Entity\AccessTokenEntity $accessToken The access token * @param \League\OAuth2\Server\Entity\AccessTokenEntity $accessToken The access token