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

Commit d72e7a0

Browse files
committed
Added static method definitions to Resolver facade
1 parent 4d1990b commit d72e7a0

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/Facades/Resolver.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,20 @@
55
use Illuminate\Support\Facades\Facade;
66
use Adldap\Laravel\Resolvers\ResolverInterface;
77

8+
/**
9+
* @method static void setConnection(string $connection)
10+
* @method static \Adldap\Models\Model|null byId(string $identifier)
11+
* @method static \Adldap\Models\User|null byCredentials(array $credentials)
12+
* @method static \Adldap\Models\User|null byModel(\Illuminate\Contracts\Auth\Authenticatable $model)
13+
* @method static boolean authenticate(\Adldap\Models\User $user, array $credentials = [])
14+
* @method static \Adldap\Query\Builder query()
15+
* @method static string getLdapDiscoveryAttribute()
16+
* @method static string getLdapAuthAttribute()
17+
* @method static string getDatabaseUsernameColumn()
18+
* @method static string getDatabaseIdColumn()
19+
*
20+
* @see \Adldap\Laravel\Resolvers\UserResolver
21+
*/
822
class Resolver extends Facade
923
{
1024
/**

0 commit comments

Comments
 (0)