diff --git a/src/OAuth2/Storage/PDO/Session.php b/src/OAuth2/Storage/PDO/Session.php index 7a24d388..a5121074 100644 --- a/src/OAuth2/Storage/PDO/Session.php +++ b/src/OAuth2/Storage/PDO/Session.php @@ -63,16 +63,6 @@ class Session implements SessionInterface $stmt->execute(); } - /** - * Remove an associated redirect URI - * @param int $sessionId The session ID - * @return void - */ - public function removeRedirectUri($sessionId) - { - throw new \Exception('Not implemented - ' . debug_backtrace()[0]['function']); - } - /** * Associate an access token with a session * @param int $sessionId The session ID @@ -127,16 +117,6 @@ class Session implements SessionInterface $stmt->execute(); } - /** - * Remove an associated refresh token from a session - * @param int $sessionId The session ID - * @return void - */ - public function removeRefreshToken($sessionId) - { - throw new \Exception('Not implemented - ' . debug_backtrace()[0]['function']); - } - /** * Assocate an authorization code with a session * @param int $sessionId The session ID diff --git a/src/OAuth2/Storage/SessionInterface.php b/src/OAuth2/Storage/SessionInterface.php index b9ca2118..2933af6c 100644 --- a/src/OAuth2/Storage/SessionInterface.php +++ b/src/OAuth2/Storage/SessionInterface.php @@ -39,13 +39,6 @@ interface SessionInterface */ public function associateRedirectUri($sessionId, $redirectUri); - /** - * Remove an associated redirect URI - * @param int $sessionId The session ID - * @return void - */ - public function removeRedirectUri($sessionId); - /** * Associate an access token with a session * @param int $sessionId The session ID @@ -70,13 +63,6 @@ interface SessionInterface */ public function associateRefreshToken($accessTokenId, $refreshToken); - /** - * Remove an associated refresh token from a session - * @param int $sessionId The session ID - * @return void - */ - public function removeRefreshToken($sessionId); - /** * Assocate an authorization code with a session * @param int $sessionId The session ID