Added UserRepositoryInterface

This commit is contained in:
Alex Bilbie 2015-04-05 21:10:50 +01:00
parent 6a78d53d03
commit eabcf82268

View File

@ -0,0 +1,15 @@
<?php
namespace League\OAuth2\Server\Repositories;
use League\OAuth2\Server\Entities\Interfaces\UserEntityInterface;
interface UserRepositoryInterface extends RepositoryInterface
{
/**
* Get a user
* @param string $username
* @param string $password
* @return UserEntityInterface
*/
public function getByCredentials($username, $password);
}