Files
oauth2-server/repository-interface-user.md
Alex Bilbie c0514134d6 More docs
2016-03-24 19:26:58 +00:00

572 B

layout, title, permalink
layout title permalink
default UserRepositoryInterface documentation /user-repository-interface/

User Repository Interface

getUserEntityByUserCredentials() : UserEntityInterface

This method is called to validate a user's credentials.

You can use the grant type to determine if the user is permitted to use the grant type.

You can use the client entity to determine to if the user is permitted to use the client.

If the client's credentials are validated you should return an instance of \League\OAuth2\Server\Entities\Interfaces\UserEntityInterface