From 945d60bd5d9682a019b49ad5ef1f0f9b305a4813 Mon Sep 17 00:00:00 2001 From: Daniel Horrigan Date: Tue, 22 Jan 2013 11:33:09 -0500 Subject: [PATCH] Renaming Server and Resource to AuthServer and ResourceServer to be less confusing. --- src/OAuth2/{Server.php => AuthServer.php} | 2 +- src/OAuth2/{Resource.php => ResourceServer.php} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename src/OAuth2/{Server.php => AuthServer.php} (99%) rename src/OAuth2/{Resource.php => ResourceServer.php} (99%) diff --git a/src/OAuth2/Server.php b/src/OAuth2/AuthServer.php similarity index 99% rename from src/OAuth2/Server.php rename to src/OAuth2/AuthServer.php index 09ef8a37..9008d829 100644 --- a/src/OAuth2/Server.php +++ b/src/OAuth2/AuthServer.php @@ -2,7 +2,7 @@ namespace OAuth2; -class Server +class AuthServer { protected $scopeDelimeter = ','; diff --git a/src/OAuth2/Resource.php b/src/OAuth2/ResourceServer.php similarity index 99% rename from src/OAuth2/Resource.php rename to src/OAuth2/ResourceServer.php index 80590049..ba0d6801 100644 --- a/src/OAuth2/Resource.php +++ b/src/OAuth2/ResourceServer.php @@ -6,7 +6,7 @@ use OutOfBoundsException; use OAuth2\Storage\SessionInterface; use OAuth2\Storage\SessionScopeInterface; -class Resource +class ResourceServer { protected $accessToken = null;