Renamed namespace to League\OAuth2\

This commit is contained in:
Alex Bilbie 2013-05-08 11:06:09 -07:00
parent 22d900def1
commit 850473ce40
24 changed files with 78 additions and 78 deletions

View File

@ -39,7 +39,7 @@
},
"autoload": {
"psr-0": {
"OAuth2": "src/"
"League\\OAuth2": "src/"
}
},
"suggest": {}

View File

@ -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

View File

@ -9,7 +9,7 @@
* @link http://github.com/lncd/oauth2
*/
namespace OAuth2\Exception;
namespace League\OAuth2\Exception;
/**
* ClientException Exception

View File

@ -9,7 +9,7 @@
* @link http://github.com/lncd/oauth2
*/
namespace OAuth2\Exception;
namespace League\OAuth2\Exception;
/**
* InvalidAccessToken Exception

View File

@ -9,7 +9,7 @@
* @link http://github.com/lncd/oauth2
*/
namespace OAuth2\Exception;
namespace League\OAuth2\Exception;
/**
* InvalidGrantTypeException Exception

View File

@ -9,7 +9,7 @@
* @link http://github.com/lncd/oauth2
*/
namespace OAuth2\Exception;
namespace League\OAuth2\Exception;
/**
* Exception class

View File

@ -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

View File

@ -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

View File

@ -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
{

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -9,7 +9,7 @@
* @link http://github.com/lncd/oauth2
*/
namespace OAuth2\Storage;
namespace League\OAuth2\Storage;
interface ClientInterface
{

View File

@ -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
{

View File

@ -1,6 +1,6 @@
<?php
namespace OAuth2\Storage\PDO;
namespace League\OAuth2\Storage\PDO;
class Db
{

View File

@ -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
{

View File

@ -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
{

View File

@ -9,7 +9,7 @@
* @link http://github.com/lncd/oauth2
*/
namespace OAuth2\Storage;
namespace League\OAuth2\Storage;
interface ScopeInterface
{

View File

@ -9,7 +9,7 @@
* @link http://github.com/lncd/oauth2
*/
namespace OAuth2\Storage;
namespace League\OAuth2\Storage;
interface SessionInterface
{

View File

@ -9,7 +9,7 @@
* @link http://github.com/lncd/oauth2
*/
namespace OAuth2\Util;
namespace League\OAuth2\Util;
/**
* RedirectUri class

View File

@ -1,6 +1,6 @@
<?php
namespace OAuth2\Util;
namespace League\OAuth2\Util;
use OutOfBoundsException;
use InvalidMethodCallException;

View File

@ -1,6 +1,6 @@
<?php
namespace OAuth2\Util;
namespace League\OAuth2\Util;
interface RequestInterface
{

View File

@ -9,7 +9,7 @@
* @link http://github.com/lncd/oauth2
*/
namespace OAuth2\Util;
namespace League\OAuth2\Util;
/**
* SecureKey class