Skip to content
This repository was archived by the owner on Jul 24, 2023. It is now read-only.

Commit b38615f

Browse files
committed
Removed Provider, implement standard UserProvider interface
1 parent 81b36ab commit b38615f

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

src/Auth/NoDatabaseUserProvider.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,18 @@
33
namespace Adldap\Laravel\Auth;
44

55
use Adldap\Laravel\Facades\Resolver;
6+
use Adldap\Laravel\Traits\ValidatesUsers;
67
use Adldap\Laravel\Events\AuthenticationRejected;
78
use Adldap\Laravel\Events\AuthenticationSuccessful;
89
use Adldap\Laravel\Events\DiscoveredWithCredentials;
910
use Adldap\Laravel\Events\AuthenticatedWithCredentials;
11+
use Illuminate\Contracts\Auth\UserProvider;
1012
use Illuminate\Contracts\Auth\Authenticatable;
1113

12-
class NoDatabaseUserProvider extends Provider
14+
class NoDatabaseUserProvider implements UserProvider
1315
{
16+
use ValidatesUsers;
17+
1418
/**
1519
* {@inheritdoc}
1620
*/

src/Auth/Provider.php

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)