mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-15 17:56:14 +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
|
* Access token interface
|
||||||
*/
|
*/
|
||||||
interface AccessTokenInterface
|
interface AccessTokenInterface extends StorageInterface
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Get an instance of Entity\AccessTokenEntity
|
* Get an instance of Entity\AccessTokenEntity
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user