diff --git a/src/League/OAuth2/Server/Storage/SessionInterface.php b/src/League/OAuth2/Server/Storage/SessionInterface.php
index 521fe750..36c335fe 100644
--- a/src/League/OAuth2/Server/Storage/SessionInterface.php
+++ b/src/League/OAuth2/Server/Storage/SessionInterface.php
@@ -254,6 +254,36 @@ interface SessionInterface
* @return void
*/
public function associateAuthCodeScope($sessionId, $scopeId);
+
+ /**
+ * Get the scopes associated with an auth code
+ *
+ * Example SQL query:
+ *
+ *
+ * SELECT scope_id FROM `oauth_session_authcode_scopes` WHERE session_id = :sessionId
+ *
+ *
+ * Expected response:
+ *
+ *
+ * array(
+ * array(
+ * 'scope_id' => (int)
+ * ),
+ * array(
+ * 'scope_id' => (int)
+ * ),
+ * ...
+ * )
+ *
+ *
+ * @param int $sessionId The session ID
+ * @return array
+ */
+ public function getAuthCodeScopes($sessionId);
+
+ /**
* Associate a scope with an access token
*
* Example SQL query: