From 9be23cf22227b61783e576a3b464f96cacbce1c6 Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Sun, 5 May 2013 18:16:28 +0100 Subject: [PATCH] Added session scopes --- src/OAuth2/ResourceServer.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/OAuth2/ResourceServer.php b/src/OAuth2/ResourceServer.php index c70f67b0..b30cd32e 100644 --- a/src/OAuth2/ResourceServer.php +++ b/src/OAuth2/ResourceServer.php @@ -182,6 +182,15 @@ class ResourceServer return true; } + /** + * Get the session scopes + * @return [type] [description] + */ + public function getScopes() + { + return $this->sessionScopes; + } + /** * Checks if the presented access token has the given scope(s). *