mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-01 16:33:07 +05:30
All interfaces extend StorageInterface
This commit is contained in:
parent
4bbbc72035
commit
a2a768b6e6
@ -19,7 +19,7 @@ use League\OAuth2\Server\Entity\ScopeEntity;
|
||||
/**
|
||||
* Access token interface
|
||||
*/
|
||||
interface AccessTokenInterface
|
||||
interface AccessTokenInterface extends StorageInterface
|
||||
{
|
||||
/**
|
||||
* Get an instance of Entity\AccessTokenEntity
|
||||
|
@ -17,7 +17,7 @@ use League\OAuth2\Server\Entity\ScopeEntity;
|
||||
/**
|
||||
* Auth code storage interface
|
||||
*/
|
||||
interface AuthCodeInterface
|
||||
interface AuthCodeInterface extends StorageInterface
|
||||
{
|
||||
/**
|
||||
* Get the auth code
|
||||
|
@ -16,7 +16,7 @@ use League\OAuth2\Server\Entity\SessionEntity;
|
||||
/**
|
||||
* Client storage interface
|
||||
*/
|
||||
interface ClientInterface
|
||||
interface ClientInterface extends StorageInterface
|
||||
{
|
||||
/**
|
||||
* Validate a client
|
||||
|
@ -16,7 +16,7 @@ use League\OAuth2\Server\Entity\RefreshTokenEntity;
|
||||
/**
|
||||
* Refresh token interface
|
||||
*/
|
||||
interface RefreshTokenInterface
|
||||
interface RefreshTokenInterface extends StorageInterface
|
||||
{
|
||||
/**
|
||||
* Return a new instance of \League\OAuth2\Server\Entity\RefreshTokenEntity
|
||||
|
@ -14,7 +14,7 @@ namespace League\OAuth2\Server\Storage;
|
||||
/**
|
||||
* Scope interface
|
||||
*/
|
||||
interface ScopeInterface
|
||||
interface ScopeInterface extends StorageInterface
|
||||
{
|
||||
/**
|
||||
* Return information about a scope
|
||||
|
@ -19,7 +19,7 @@ use League\OAuth2\Server\Entity\ScopeEntity;
|
||||
/**
|
||||
* Session storage interface
|
||||
*/
|
||||
interface SessionInterface
|
||||
interface SessionInterface extends StorageInterface
|
||||
{
|
||||
/**
|
||||
* Get a session from an access token
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
namespace League\OAuth2\Server\Storage;
|
||||
|
||||
use League\OAuth2\Server\Entity\SessionEntity;
|
||||
use League\OAuth2\Server\AbstractServer;
|
||||
|
||||
/**
|
||||
* Storage interface
|
||||
|
Loading…
Reference in New Issue
Block a user