All interfaces extend StorageInterface

This commit is contained in:
Alex Bilbie 2014-11-07 02:31:37 +00:00
parent 4bbbc72035
commit a2a768b6e6
7 changed files with 7 additions and 7 deletions

View File

@ -19,7 +19,7 @@ use League\OAuth2\Server\Entity\ScopeEntity;
/** /**
* Access token interface * Access token interface
*/ */
interface AccessTokenInterface interface AccessTokenInterface extends StorageInterface
{ {
/** /**
* Get an instance of Entity\AccessTokenEntity * Get an instance of Entity\AccessTokenEntity

View File

@ -17,7 +17,7 @@ use League\OAuth2\Server\Entity\ScopeEntity;
/** /**
* Auth code storage interface * Auth code storage interface
*/ */
interface AuthCodeInterface interface AuthCodeInterface extends StorageInterface
{ {
/** /**
* Get the auth code * Get the auth code

View File

@ -16,7 +16,7 @@ use League\OAuth2\Server\Entity\SessionEntity;
/** /**
* Client storage interface * Client storage interface
*/ */
interface ClientInterface interface ClientInterface extends StorageInterface
{ {
/** /**
* Validate a client * Validate a client

View File

@ -16,7 +16,7 @@ use League\OAuth2\Server\Entity\RefreshTokenEntity;
/** /**
* Refresh token interface * Refresh token interface
*/ */
interface RefreshTokenInterface interface RefreshTokenInterface extends StorageInterface
{ {
/** /**
* Return a new instance of \League\OAuth2\Server\Entity\RefreshTokenEntity * Return a new instance of \League\OAuth2\Server\Entity\RefreshTokenEntity

View File

@ -14,7 +14,7 @@ namespace League\OAuth2\Server\Storage;
/** /**
* Scope interface * Scope interface
*/ */
interface ScopeInterface interface ScopeInterface extends StorageInterface
{ {
/** /**
* Return information about a scope * Return information about a scope

View File

@ -19,7 +19,7 @@ use League\OAuth2\Server\Entity\ScopeEntity;
/** /**
* Session storage interface * Session storage interface
*/ */
interface SessionInterface interface SessionInterface extends StorageInterface
{ {
/** /**
* Get a session from an access token * Get a session from an access token

View File

@ -11,7 +11,7 @@
namespace League\OAuth2\Server\Storage; namespace League\OAuth2\Server\Storage;
use League\OAuth2\Server\Entity\SessionEntity; use League\OAuth2\Server\AbstractServer;
/** /**
* Storage interface * Storage interface