Merge branch 'V5-WIP' of github.com:thephpleague/oauth2-server into V5-WIP

This commit is contained in:
Alex Bilbie 2016-03-22 16:29:08 +00:00
commit 61986db5ee
3 changed files with 4 additions and 3 deletions

View File

@ -15,7 +15,7 @@ class UserRepository implements UserRepositoryInterface
*
* @param string $username
* @param string $password
* @param string $grantType The grant type used
* @param string $grantType The grant type used
* @param \League\OAuth2\Server\Entities\Interfaces\ClientEntityInterface $clientEntity
* @param ScopeEntityInterface[] $scopes
*

View File

@ -68,8 +68,9 @@ class PasswordGrant extends AbstractGrant
* @param \League\OAuth2\Server\Entities\Interfaces\ClientEntityInterface $client
* @param ScopeEntityInterface[] $scopes
*
* @return \League\OAuth2\Server\Entities\Interfaces\UserEntityInterface
* @throws \League\OAuth2\Server\Exception\OAuthServerException
*
* @return \League\OAuth2\Server\Entities\Interfaces\UserEntityInterface
*/
protected function validateUser(ServerRequestInterface $request, ClientEntityInterface $client, array &$scopes)
{

View File

@ -12,7 +12,7 @@ interface UserRepositoryInterface extends RepositoryInterface
*
* @param string $username
* @param string $password
* @param string $grantType The grant type used
* @param string $grantType The grant type used
* @param \League\OAuth2\Server\Entities\Interfaces\ClientEntityInterface $clientEntity
* @param ScopeEntityInterface[] $scopes
*