Merge pull request #275 from Hywan/cs

Fix API CS.
This commit is contained in:
Alex Bilbie 2014-12-10 09:58:06 +00:00
commit 8075190e0c
2 changed files with 6 additions and 7 deletions

View File

@ -29,23 +29,23 @@ interface AccessTokenInterface extends StorageInterface
/** /**
* Get the scopes for an access token * Get the scopes for an access token
* @param \League\OAuth2\Server\Entity\AccessTokenEntity $token The access token * @param \League\OAuth2\Server\Entity\AccessTokenEntity $token The access token
* @return array Array of \League\OAuth2\Server\Entity\ScopeEntity * @return array Array of \League\OAuth2\Server\Entity\ScopeEntity
*/ */
public function getScopes(AccessTokenEntity $token); public function getScopes(AccessTokenEntity $token);
/** /**
* Creates a new access token * Creates a new access token
* @param string $token The access token * @param string $token The access token
* @param integer $expireTime The expire time expressed as a unix timestamp * @param integer $expireTime The expire time expressed as a unix timestamp
* @param string|integer $sessionId The session ID * @param string|integer $sessionId The session ID
* @return \League\OAuth2\Server\Entity\AccessTokenEntity * @return void
*/ */
public function create($token, $expireTime, $sessionId); public function create($token, $expireTime, $sessionId);
/** /**
* Associate a scope with an acess token * Associate a scope with an acess token
* @param \League\OAuth2\Server\Entity\AccessTokenEntity $token The access token * @param \League\OAuth2\Server\Entity\AccessTokenEntity $token The access token
* @param \League\OAuth2\Server\Entity\ScopeEntity $scope The scope * @param \League\OAuth2\Server\Entity\ScopeEntity $scope The scope
* @return void * @return void
*/ */
public function associateScope(AccessTokenEntity $token, ScopeEntity $scope); public function associateScope(AccessTokenEntity $token, ScopeEntity $scope);

View File

@ -32,7 +32,6 @@ interface AuthCodeInterface extends StorageInterface
* @param integer $expireTime Token expire time * @param integer $expireTime Token expire time
* @param integer $sessionId Session identifier * @param integer $sessionId Session identifier
* @param string $redirectUri Client redirect uri * @param string $redirectUri Client redirect uri
*
* @return void * @return void
*/ */
public function create($token, $expireTime, $sessionId, $redirectUri); public function create($token, $expireTime, $sessionId, $redirectUri);