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": { "autoload": {
"psr-0": { "psr-0": {
"OAuth2": "src/" "League\\OAuth2": "src/"
} }
}, },
"suggest": {} "suggest": {}

View File

@ -9,14 +9,14 @@
* @link http://github.com/lncd/oauth2 * @link http://github.com/lncd/oauth2
*/ */
namespace OAuth2; namespace League\OAuth2;
use OAuth2\Util\Request; use League\OAuth2\Util\Request;
use OAuth2\Util\SecureKey; use League\OAuth2\Util\SecureKey;
use OAuth2\Storage\SessionInterface; use League\OAuth2\Storage\SessionInterface;
use OAuth2\Storage\ClientInterface; use League\OAuth2\Storage\ClientInterface;
use OAuth2\Storage\ScopeInterface; use League\OAuth2\Storage\ScopeInterface;
use OAuth2\Grant\GrantTypeInterface; use League\OAuth2\Grant\GrantTypeInterface;
/** /**
* OAuth 2.0 authorization server class * OAuth 2.0 authorization server class

View File

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

View File

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

View File

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

View File

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

View File

@ -9,15 +9,15 @@
* @link http://github.com/lncd/oauth2 * @link http://github.com/lncd/oauth2
*/ */
namespace OAuth2\Grant; namespace League\OAuth2\Grant;
use OAuth2\Request; use League\OAuth2\Request;
use OAuth2\AuthServer; use League\OAuth2\AuthServer;
use OAuth2\Exception; use League\OAuth2\Exception;
use OAuth2\Util\SecureKey; use League\OAuth2\Util\SecureKey;
use OAuth2\Storage\SessionInterface; use League\OAuth2\Storage\SessionInterface;
use OAuth2\Storage\ClientInterface; use League\OAuth2\Storage\ClientInterface;
use OAuth2\Storage\ScopeInterface; use League\OAuth2\Storage\ScopeInterface;
/** /**
* Auth code grant class * Auth code grant class

View File

@ -9,15 +9,15 @@
* @link http://github.com/lncd/oauth2 * @link http://github.com/lncd/oauth2
*/ */
namespace OAuth2\Grant; namespace League\OAuth2\Grant;
use OAuth2\Request; use League\OAuth2\Request;
use OAuth2\AuthServer; use League\OAuth2\AuthServer;
use OAuth2\Exception; use League\OAuth2\Exception;
use OAuth2\Util\SecureKey; use League\OAuth2\Util\SecureKey;
use OAuth2\Storage\SessionInterface; use League\OAuth2\Storage\SessionInterface;
use OAuth2\Storage\ClientInterface; use League\OAuth2\Storage\ClientInterface;
use OAuth2\Storage\ScopeInterface; use League\OAuth2\Storage\ScopeInterface;
/** /**
* Client credentials grant class * Client credentials grant class

View File

@ -9,15 +9,15 @@
* @link http://github.com/lncd/oauth2 * @link http://github.com/lncd/oauth2
*/ */
namespace OAuth2\Grant; namespace League\OAuth2\Grant;
use OAuth2\Request; use League\OAuth2\Request;
use OAuth2\AuthServer; use League\OAuth2\AuthServer;
use OAuth2\Exception; use League\OAuth2\Exception;
use OAuth2\Util\SecureKey; use League\OAuth2\Util\SecureKey;
use OAuth2\Storage\SessionInterface; use League\OAuth2\Storage\SessionInterface;
use OAuth2\Storage\ClientInterface; use League\OAuth2\Storage\ClientInterface;
use OAuth2\Storage\ScopeInterface; use League\OAuth2\Storage\ScopeInterface;
interface GrantTypeInterface interface GrantTypeInterface
{ {

View File

@ -9,15 +9,15 @@
* @link http://github.com/lncd/oauth2 * @link http://github.com/lncd/oauth2
*/ */
namespace OAuth2\Grant; namespace League\OAuth2\Grant;
use OAuth2\Request; use League\OAuth2\Request;
use OAuth2\AuthServer; use League\OAuth2\AuthServer;
use OAuth2\Exception; use League\OAuth2\Exception;
use OAuth2\Util\SecureKey; use League\OAuth2\Util\SecureKey;
use OAuth2\Storage\SessionInterface; use League\OAuth2\Storage\SessionInterface;
use OAuth2\Storage\ClientInterface; use League\OAuth2\Storage\ClientInterface;
use OAuth2\Storage\ScopeInterface; use League\OAuth2\Storage\ScopeInterface;
/** /**
* Client credentials grant class * Client credentials grant class

View File

@ -9,15 +9,15 @@
* @link http://github.com/lncd/oauth2 * @link http://github.com/lncd/oauth2
*/ */
namespace OAuth2\Grant; namespace League\OAuth2\Grant;
use OAuth2\Request; use League\OAuth2\Request;
use OAuth2\AuthServer; use League\OAuth2\AuthServer;
use OAuth2\Exception; use League\OAuth2\Exception;
use OAuth2\Util\SecureKey; use League\OAuth2\Util\SecureKey;
use OAuth2\Storage\SessionInterface; use League\OAuth2\Storage\SessionInterface;
use OAuth2\Storage\ClientInterface; use League\OAuth2\Storage\ClientInterface;
use OAuth2\Storage\ScopeInterface; use League\OAuth2\Storage\ScopeInterface;
/** /**
* Password grant class * Password grant class

View File

@ -9,15 +9,15 @@
* @link http://github.com/lncd/oauth2 * @link http://github.com/lncd/oauth2
*/ */
namespace OAuth2\Grant; namespace League\OAuth2\Grant;
use OAuth2\Request; use League\OAuth2\Request;
use OAuth2\AuthServer; use League\OAuth2\AuthServer;
use OAuth2\Exception; use League\OAuth2\Exception;
use OAuth2\Util\SecureKey; use League\OAuth2\Util\SecureKey;
use OAuth2\Storage\SessionInterface; use League\OAuth2\Storage\SessionInterface;
use OAuth2\Storage\ClientInterface; use League\OAuth2\Storage\ClientInterface;
use OAuth2\Storage\ScopeInterface; use League\OAuth2\Storage\ScopeInterface;
/** /**
* Referesh token grant * Referesh token grant

View File

@ -9,12 +9,12 @@
* @link http://github.com/lncd/oauth2 * @link http://github.com/lncd/oauth2
*/ */
namespace OAuth2; namespace League\OAuth2;
use OutOfBoundsException; use OutOfBoundsException;
use OAuth2\Storage\SessionInterface; use League\OAuth2\Storage\SessionInterface;
use OAuth2\Util\RequestInterface; use League\OAuth2\Util\RequestInterface;
use OAuth2\Util\Request; use League\OAuth2\Util\Request;
/** /**
* OAuth 2.0 Resource Server * OAuth 2.0 Resource Server

View File

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

View File

@ -1,8 +1,8 @@
<?php <?php
namespace OAuth2\Storage\PDO; namespace League\OAuth2\Storage\PDO;
use OAuth2\Storage\ClientInterface; use League\OAuth2\Storage\ClientInterface;
class Client implements ClientInterface class Client implements ClientInterface
{ {

View File

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

View File

@ -1,8 +1,8 @@
<?php <?php
namespace OAuth2\Storage\PDO; namespace League\OAuth2\Storage\PDO;
use OAuth2\Storage\ScopeInterface; use League\OAuth2\Storage\ScopeInterface;
class Scope implements ScopeInterface class Scope implements ScopeInterface
{ {

View File

@ -1,8 +1,8 @@
<?php <?php
namespace OAuth2\Storage\PDO; namespace League\OAuth2\Storage\PDO;
use OAuth2\Storage\SessionInterface; use League\OAuth2\Storage\SessionInterface;
class Session implements SessionInterface class Session implements SessionInterface
{ {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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