| 1 | <?php |
||
| 10 | class DummyUserProvider implements LaravelUserProvider |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * Application cache repository. |
||
| 14 | * |
||
| 15 | * @var \Illuminate\Contracts\Cache\Repository |
||
| 16 | */ |
||
| 17 | protected $cache; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Configuration. |
||
| 21 | * |
||
| 22 | * @var array |
||
| 23 | */ |
||
| 24 | protected $config; |
||
| 25 | |||
| 26 | public function __construct(CacheContract $cache, array $config) |
||
| 31 | |||
| 32 | public function retrieveById($identifier) |
||
| 38 | |||
| 39 | public function retrieveByToken($identifier, $token) |
||
| 43 | |||
| 44 | public function updateRememberToken(Authenticatable $user, $token) |
||
| 48 | |||
| 49 | public function retrieveByCredentials(array $credentials) |
||
| 53 | |||
| 54 | public function validateCredentials(Authenticatable $user, array $credentials) |
||
| 58 | |||
| 59 | } |
||
| 60 |