From 77ce18df56dc5896bad64cf26fc14fbc27e20d73 Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Tue, 14 Aug 2012 15:46:58 +0100 Subject: [PATCH] Added the resource server database interface --- src/Oauth2/Resource/Database.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Oauth2/Resource/Database.php b/src/Oauth2/Resource/Database.php index c39bb471..a6ff8a2a 100644 --- a/src/Oauth2/Resource/Database.php +++ b/src/Oauth2/Resource/Database.php @@ -4,4 +4,7 @@ namespace Oauth2\Resource; interface Database { + public function validateAccessToken($accessToken); + + public function sessionScopes($sessionId); } \ No newline at end of file