mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-22 13:09:44 +05:30
Added UserRepositoryInterface
This commit is contained in:
parent
6a78d53d03
commit
eabcf82268
15
src/Repositories/UserRepositoryInterface.php
Normal file
15
src/Repositories/UserRepositoryInterface.php
Normal 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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user