diff --git a/src/Storage/AuthCodeInterface.php b/src/Storage/AuthCodeInterface.php index 78dcc703..f8a358f9 100644 --- a/src/Storage/AuthCodeInterface.php +++ b/src/Storage/AuthCodeInterface.php @@ -26,6 +26,16 @@ interface AuthCodeInterface */ public function get($code); + /** + * Create an auth code. + * @param string $token The token ID + * @param integer $expireTime Token expire time + * @param integer $sessionId Session identifier + * + * @return void + */ + public function create($token, $expireTime, $sessionId); + /** * Get the scopes for an access token * @param \League\OAuth2\Server\Entity\AuthCodeEntity $token The auth code