Merge branch 'v4.0.0-WIP' of github.com:php-loep/oauth2-server into v4.0.0-WIP

This commit is contained in:
Alex Bilbie 2014-06-20 14:16:09 +01:00
commit 80802e5df4

View File

@ -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