Added getAccessToken, fixed validateRefreshToken docblock

This commit is contained in:
Alex Bilbie 2013-04-30 15:38:48 +01:00
parent d149490c78
commit 2a3ae641ab

View File

@ -112,10 +112,17 @@ interface SessionInterface
/** /**
* Validate a refresh token * Validate a refresh token
* @param string $accessToken The access token * @param string $refreshToken The access token
* @return void * @return void
*/ */
public function validateRefreshToken($accessToken); public function validateRefreshToken($refreshToken);
/**
* Get an access token by ID
* @param int $accessTokenId The access token ID
* @return array
*/
public function getAccessToken($accessTokenId);
/** /**
* Associate a scope with an access token * Associate a scope with an access token