From fd47712060f77051ab361f33bd048431f8b71708 Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Tue, 12 Jan 2016 23:01:19 +0000 Subject: [PATCH] Removed unused methods --- src/ResponseTypes/ResponseTypeInterface.php | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/src/ResponseTypes/ResponseTypeInterface.php b/src/ResponseTypes/ResponseTypeInterface.php index 039cf342..fef9cb59 100644 --- a/src/ResponseTypes/ResponseTypeInterface.php +++ b/src/ResponseTypes/ResponseTypeInterface.php @@ -12,6 +12,7 @@ namespace League\OAuth2\Server\ResponseTypes; use League\OAuth2\Server\Entities\Interfaces\AccessTokenEntityInterface; +use League\OAuth2\Server\Entities\Interfaces\RefreshTokenEntityInterface; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface; @@ -23,21 +24,9 @@ interface ResponseTypeInterface public function setAccessToken(AccessTokenEntityInterface $accessToken); /** - * Set a key/value response pair - * - * @param string $key - * @param mixed $value + * @param \League\OAuth2\Server\Entities\Interfaces\RefreshTokenEntityInterface $refreshToken */ - public function setParam($key, $value); - - /** - * Get a key from the response array - * - * @param string $key - * - * @return mixed - */ - public function getParam($key); + public function setRefreshToken(RefreshTokenEntityInterface $refreshToken); /** * Determine the access token in the authorization header