Method | Description | |
---|---|---|
getLoginUsernameFromUser ( |
Retrieves the configured login username from the LDAP user. | |
retrieveByCredentials ( array $credentials = [] ) : Illuminate\Contracts\Auth\Authenticatable | null | Retrieves an LDAP user by their credentials. |
Method | Description | |
---|---|---|
authenticate ( string $username, string $password ) : boolean | Authenticates a user against our default LDAP connection. | |
getLoginAttribute ( ) : string | Returns the configured login attribute for authenticating users. | |
getLoginFallback ( ) : boolean | Retrieves the Adldap login fallback option for falling back to the local database if AD authentication fails. | |
getPasswordFromCredentials ( array $credentials = [] ) : string | Returns the configured users password from the credentials array. | |
getPasswordKey ( ) : mixed | Returns the password key to retrieve the password from the user input array. | |
getUsernameAttribute ( ) : array | Returns the configured username attribute for discovering LDAP users. | |
getUsernameFromCredentials ( array $credentials = [] ) : string | Returns the username from the specified credentials. | |
getUsernameKey ( ) : string | Returns the configured username key. | |
getUsernameValue ( ) : string | Returns the configured username value. | |
handleAuthenticatedModelTrashed ( |
Handle an authenticated users model that has been soft deleted. | |
handleAuthenticatedWithCredentials ( |
Handle an authenticated LDAP user with their model. | |
handleDiscoveredUserWithCredentials ( |
Handle discovered LDAP users before they are authenticated. | |
isConnected ( ) : boolean | Checks if we're currently connected to our configured LDAP server. |
protected getLoginAttribute ( ) : string | ||
return | string |
protected getLoginFallback ( ) : boolean | ||
return | boolean |
public getLoginUsernameFromUser ( |
||
$user | ||
return | string |
protected getPasswordFromCredentials ( array $credentials = [] ) : string | ||
$credentials | array | |
return | string |
protected getPasswordKey ( ) : mixed | ||
return | mixed |
protected getUsernameAttribute ( ) : array | ||
return | array |
protected getUsernameFromCredentials ( array $credentials = [] ) : string | ||
$credentials | array | |
return | string |
protected getUsernameKey ( ) : string | ||
return | string |
protected getUsernameValue ( ) : string | ||
return | string |
protected handleAuthenticatedModelTrashed ( |
||
$user | ||
$model | Illuminate\Contracts\Auth\Authenticatable | |
return | void |
protected handleAuthenticatedWithCredentials ( |
||
$user | ||
$model | Illuminate\Contracts\Auth\Authenticatable | |
return | void |
protected handleDiscoveredUserWithCredentials ( |
||
$user | ||
return | void |
protected isConnected ( ) : boolean | ||
return | boolean |
public retrieveByCredentials ( array $credentials = [] ) : Illuminate\Contracts\Auth\Authenticatable | null | ||
$credentials | array | |
return | Illuminate\Contracts\Auth\Authenticatable | null |