mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-22 21:19:46 +05:30
Renamed namespace to League\OAuth2\
This commit is contained in:
parent
22d900def1
commit
850473ce40
@ -39,7 +39,7 @@
|
||||
},
|
||||
"autoload": {
|
||||
"psr-0": {
|
||||
"OAuth2": "src/"
|
||||
"League\\OAuth2": "src/"
|
||||
}
|
||||
},
|
||||
"suggest": {}
|
||||
|
@ -9,14 +9,14 @@
|
||||
* @link http://github.com/lncd/oauth2
|
||||
*/
|
||||
|
||||
namespace OAuth2;
|
||||
namespace League\OAuth2;
|
||||
|
||||
use OAuth2\Util\Request;
|
||||
use OAuth2\Util\SecureKey;
|
||||
use OAuth2\Storage\SessionInterface;
|
||||
use OAuth2\Storage\ClientInterface;
|
||||
use OAuth2\Storage\ScopeInterface;
|
||||
use OAuth2\Grant\GrantTypeInterface;
|
||||
use League\OAuth2\Util\Request;
|
||||
use League\OAuth2\Util\SecureKey;
|
||||
use League\OAuth2\Storage\SessionInterface;
|
||||
use League\OAuth2\Storage\ClientInterface;
|
||||
use League\OAuth2\Storage\ScopeInterface;
|
||||
use League\OAuth2\Grant\GrantTypeInterface;
|
||||
|
||||
/**
|
||||
* OAuth 2.0 authorization server class
|
@ -9,7 +9,7 @@
|
||||
* @link http://github.com/lncd/oauth2
|
||||
*/
|
||||
|
||||
namespace OAuth2\Exception;
|
||||
namespace League\OAuth2\Exception;
|
||||
|
||||
/**
|
||||
* ClientException Exception
|
@ -9,7 +9,7 @@
|
||||
* @link http://github.com/lncd/oauth2
|
||||
*/
|
||||
|
||||
namespace OAuth2\Exception;
|
||||
namespace League\OAuth2\Exception;
|
||||
|
||||
/**
|
||||
* InvalidAccessToken Exception
|
@ -9,7 +9,7 @@
|
||||
* @link http://github.com/lncd/oauth2
|
||||
*/
|
||||
|
||||
namespace OAuth2\Exception;
|
||||
namespace League\OAuth2\Exception;
|
||||
|
||||
/**
|
||||
* InvalidGrantTypeException Exception
|
@ -9,7 +9,7 @@
|
||||
* @link http://github.com/lncd/oauth2
|
||||
*/
|
||||
|
||||
namespace OAuth2\Exception;
|
||||
namespace League\OAuth2\Exception;
|
||||
|
||||
/**
|
||||
* Exception class
|
@ -9,15 +9,15 @@
|
||||
* @link http://github.com/lncd/oauth2
|
||||
*/
|
||||
|
||||
namespace OAuth2\Grant;
|
||||
namespace League\OAuth2\Grant;
|
||||
|
||||
use OAuth2\Request;
|
||||
use OAuth2\AuthServer;
|
||||
use OAuth2\Exception;
|
||||
use OAuth2\Util\SecureKey;
|
||||
use OAuth2\Storage\SessionInterface;
|
||||
use OAuth2\Storage\ClientInterface;
|
||||
use OAuth2\Storage\ScopeInterface;
|
||||
use League\OAuth2\Request;
|
||||
use League\OAuth2\AuthServer;
|
||||
use League\OAuth2\Exception;
|
||||
use League\OAuth2\Util\SecureKey;
|
||||
use League\OAuth2\Storage\SessionInterface;
|
||||
use League\OAuth2\Storage\ClientInterface;
|
||||
use League\OAuth2\Storage\ScopeInterface;
|
||||
|
||||
/**
|
||||
* Auth code grant class
|
@ -9,15 +9,15 @@
|
||||
* @link http://github.com/lncd/oauth2
|
||||
*/
|
||||
|
||||
namespace OAuth2\Grant;
|
||||
namespace League\OAuth2\Grant;
|
||||
|
||||
use OAuth2\Request;
|
||||
use OAuth2\AuthServer;
|
||||
use OAuth2\Exception;
|
||||
use OAuth2\Util\SecureKey;
|
||||
use OAuth2\Storage\SessionInterface;
|
||||
use OAuth2\Storage\ClientInterface;
|
||||
use OAuth2\Storage\ScopeInterface;
|
||||
use League\OAuth2\Request;
|
||||
use League\OAuth2\AuthServer;
|
||||
use League\OAuth2\Exception;
|
||||
use League\OAuth2\Util\SecureKey;
|
||||
use League\OAuth2\Storage\SessionInterface;
|
||||
use League\OAuth2\Storage\ClientInterface;
|
||||
use League\OAuth2\Storage\ScopeInterface;
|
||||
|
||||
/**
|
||||
* Client credentials grant class
|
@ -9,15 +9,15 @@
|
||||
* @link http://github.com/lncd/oauth2
|
||||
*/
|
||||
|
||||
namespace OAuth2\Grant;
|
||||
namespace League\OAuth2\Grant;
|
||||
|
||||
use OAuth2\Request;
|
||||
use OAuth2\AuthServer;
|
||||
use OAuth2\Exception;
|
||||
use OAuth2\Util\SecureKey;
|
||||
use OAuth2\Storage\SessionInterface;
|
||||
use OAuth2\Storage\ClientInterface;
|
||||
use OAuth2\Storage\ScopeInterface;
|
||||
use League\OAuth2\Request;
|
||||
use League\OAuth2\AuthServer;
|
||||
use League\OAuth2\Exception;
|
||||
use League\OAuth2\Util\SecureKey;
|
||||
use League\OAuth2\Storage\SessionInterface;
|
||||
use League\OAuth2\Storage\ClientInterface;
|
||||
use League\OAuth2\Storage\ScopeInterface;
|
||||
|
||||
interface GrantTypeInterface
|
||||
{
|
@ -9,15 +9,15 @@
|
||||
* @link http://github.com/lncd/oauth2
|
||||
*/
|
||||
|
||||
namespace OAuth2\Grant;
|
||||
namespace League\OAuth2\Grant;
|
||||
|
||||
use OAuth2\Request;
|
||||
use OAuth2\AuthServer;
|
||||
use OAuth2\Exception;
|
||||
use OAuth2\Util\SecureKey;
|
||||
use OAuth2\Storage\SessionInterface;
|
||||
use OAuth2\Storage\ClientInterface;
|
||||
use OAuth2\Storage\ScopeInterface;
|
||||
use League\OAuth2\Request;
|
||||
use League\OAuth2\AuthServer;
|
||||
use League\OAuth2\Exception;
|
||||
use League\OAuth2\Util\SecureKey;
|
||||
use League\OAuth2\Storage\SessionInterface;
|
||||
use League\OAuth2\Storage\ClientInterface;
|
||||
use League\OAuth2\Storage\ScopeInterface;
|
||||
|
||||
/**
|
||||
* Client credentials grant class
|
@ -9,15 +9,15 @@
|
||||
* @link http://github.com/lncd/oauth2
|
||||
*/
|
||||
|
||||
namespace OAuth2\Grant;
|
||||
namespace League\OAuth2\Grant;
|
||||
|
||||
use OAuth2\Request;
|
||||
use OAuth2\AuthServer;
|
||||
use OAuth2\Exception;
|
||||
use OAuth2\Util\SecureKey;
|
||||
use OAuth2\Storage\SessionInterface;
|
||||
use OAuth2\Storage\ClientInterface;
|
||||
use OAuth2\Storage\ScopeInterface;
|
||||
use League\OAuth2\Request;
|
||||
use League\OAuth2\AuthServer;
|
||||
use League\OAuth2\Exception;
|
||||
use League\OAuth2\Util\SecureKey;
|
||||
use League\OAuth2\Storage\SessionInterface;
|
||||
use League\OAuth2\Storage\ClientInterface;
|
||||
use League\OAuth2\Storage\ScopeInterface;
|
||||
|
||||
/**
|
||||
* Password grant class
|
@ -9,15 +9,15 @@
|
||||
* @link http://github.com/lncd/oauth2
|
||||
*/
|
||||
|
||||
namespace OAuth2\Grant;
|
||||
namespace League\OAuth2\Grant;
|
||||
|
||||
use OAuth2\Request;
|
||||
use OAuth2\AuthServer;
|
||||
use OAuth2\Exception;
|
||||
use OAuth2\Util\SecureKey;
|
||||
use OAuth2\Storage\SessionInterface;
|
||||
use OAuth2\Storage\ClientInterface;
|
||||
use OAuth2\Storage\ScopeInterface;
|
||||
use League\OAuth2\Request;
|
||||
use League\OAuth2\AuthServer;
|
||||
use League\OAuth2\Exception;
|
||||
use League\OAuth2\Util\SecureKey;
|
||||
use League\OAuth2\Storage\SessionInterface;
|
||||
use League\OAuth2\Storage\ClientInterface;
|
||||
use League\OAuth2\Storage\ScopeInterface;
|
||||
|
||||
/**
|
||||
* Referesh token grant
|
@ -9,12 +9,12 @@
|
||||
* @link http://github.com/lncd/oauth2
|
||||
*/
|
||||
|
||||
namespace OAuth2;
|
||||
namespace League\OAuth2;
|
||||
|
||||
use OutOfBoundsException;
|
||||
use OAuth2\Storage\SessionInterface;
|
||||
use OAuth2\Util\RequestInterface;
|
||||
use OAuth2\Util\Request;
|
||||
use League\OAuth2\Storage\SessionInterface;
|
||||
use League\OAuth2\Util\RequestInterface;
|
||||
use League\OAuth2\Util\Request;
|
||||
|
||||
/**
|
||||
* OAuth 2.0 Resource Server
|
@ -9,7 +9,7 @@
|
||||
* @link http://github.com/lncd/oauth2
|
||||
*/
|
||||
|
||||
namespace OAuth2\Storage;
|
||||
namespace League\OAuth2\Storage;
|
||||
|
||||
interface ClientInterface
|
||||
{
|
@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace OAuth2\Storage\PDO;
|
||||
namespace League\OAuth2\Storage\PDO;
|
||||
|
||||
use OAuth2\Storage\ClientInterface;
|
||||
use League\OAuth2\Storage\ClientInterface;
|
||||
|
||||
class Client implements ClientInterface
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace OAuth2\Storage\PDO;
|
||||
namespace League\OAuth2\Storage\PDO;
|
||||
|
||||
class Db
|
||||
{
|
@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace OAuth2\Storage\PDO;
|
||||
namespace League\OAuth2\Storage\PDO;
|
||||
|
||||
use OAuth2\Storage\ScopeInterface;
|
||||
use League\OAuth2\Storage\ScopeInterface;
|
||||
|
||||
class Scope implements ScopeInterface
|
||||
{
|
@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace OAuth2\Storage\PDO;
|
||||
namespace League\OAuth2\Storage\PDO;
|
||||
|
||||
use OAuth2\Storage\SessionInterface;
|
||||
use League\OAuth2\Storage\SessionInterface;
|
||||
|
||||
class Session implements SessionInterface
|
||||
{
|
@ -9,7 +9,7 @@
|
||||
* @link http://github.com/lncd/oauth2
|
||||
*/
|
||||
|
||||
namespace OAuth2\Storage;
|
||||
namespace League\OAuth2\Storage;
|
||||
|
||||
interface ScopeInterface
|
||||
{
|
@ -9,7 +9,7 @@
|
||||
* @link http://github.com/lncd/oauth2
|
||||
*/
|
||||
|
||||
namespace OAuth2\Storage;
|
||||
namespace League\OAuth2\Storage;
|
||||
|
||||
interface SessionInterface
|
||||
{
|
@ -9,7 +9,7 @@
|
||||
* @link http://github.com/lncd/oauth2
|
||||
*/
|
||||
|
||||
namespace OAuth2\Util;
|
||||
namespace League\OAuth2\Util;
|
||||
|
||||
/**
|
||||
* RedirectUri class
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace OAuth2\Util;
|
||||
namespace League\OAuth2\Util;
|
||||
|
||||
use OutOfBoundsException;
|
||||
use InvalidMethodCallException;
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace OAuth2\Util;
|
||||
namespace League\OAuth2\Util;
|
||||
|
||||
interface RequestInterface
|
||||
{
|
@ -9,7 +9,7 @@
|
||||
* @link http://github.com/lncd/oauth2
|
||||
*/
|
||||
|
||||
namespace OAuth2\Util;
|
||||
namespace League\OAuth2\Util;
|
||||
|
||||
/**
|
||||
* SecureKey class
|
Loading…
Reference in New Issue
Block a user