mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-05-31 14:12:07 +05:30
Renamed AuthServer to Authorization, renamed ResourceServer to Resource. Updated all tests and other files
This commit is contained in:
@@ -9,15 +9,15 @@
|
||||
* @link http://github.com/php-loep/oauth2-server
|
||||
*/
|
||||
|
||||
namespace League\OAuth2\Grant;
|
||||
namespace League\OAuth2\Server\Grant;
|
||||
|
||||
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;
|
||||
use League\OAuth2\Server\Request;
|
||||
use League\OAuth2\Server\Authorization;
|
||||
use League\OAuth2\Server\Exception;
|
||||
use League\OAuth2\Server\Util\SecureKey;
|
||||
use League\OAuth2\Server\Storage\SessionInterface;
|
||||
use League\OAuth2\Server\Storage\ClientInterface;
|
||||
use League\OAuth2\Server\Storage\ScopeInterface;
|
||||
|
||||
/**
|
||||
* Auth code grant class
|
||||
@@ -59,7 +59,7 @@ class AuthCode implements GrantTypeInterface {
|
||||
* @param AuthServer $authServer AuthServer instance
|
||||
* @return void
|
||||
*/
|
||||
public function __construct(AuthServer $authServer)
|
||||
public function __construct(Authorization $authServer)
|
||||
{
|
||||
$this->authServer = $authServer;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user