Renamed Authorization to AuthorizationServer

This commit is contained in:
Alex Bilbie
2014-02-24 14:42:22 +00:00
parent e4622b1f65
commit 5254c9d225
8 changed files with 17 additions and 17 deletions

View File

@@ -28,7 +28,7 @@ use Symfony\Component\HttpFoundation\Request;
/**
* OAuth 2.0 authorization server class
*/
class Authorization extends AbstractServer
class AuthorizationServer extends AbstractServer
{
/**
* The delimeter between scopes specified in the scope query string parameter

View File

@@ -11,7 +11,7 @@
namespace League\OAuth2\Server\Grant;
use League\OAuth2\Server\Authorization;
use League\OAuth2\Server\AuthorizationServer;
use League\OAuth2\Server\Entity\Scope;
use League\OAuth2\Server\Exception\ClientException;
@@ -92,10 +92,10 @@ abstract class AbstractGrant implements GrantTypeInterface
/**
* Inject the authorization server into the grant
* @param Authorization $server The authorization server instance
* @param AuthorizationServer $server The authorization server instance
* @return self
*/
public function setAuthorizationServer(Authorization $server)
public function setAuthorizationServer(AuthorizationServer $server)
{
$this->server = $server;
return $this;