PHP Class Adldap\Laravel\Auth\DatabaseUserProvider

Inheritance: extends Illuminate\Auth\EloquentUserProvider, use trait Adldap\Laravel\Traits\ImportsUsers
Show file Open project: adldap2/adldap2-laravel

Protected Properties

Property Type Description
$user Adldap\Models\User The currently authenticated LDAP user.

Public Methods

Method Description
retrieveByCredentials ( array $credentials )
retrieveById ( $identifier )
retrieveByToken ( $identifier, $token )
retrieveLdapUserByCredentials ( )
validateCredentials ( Illuminate\Contracts\Auth\Authenticatable $user, array $credentials )

Protected Methods

Method Description
discoverAdldapFromModel ( mixed $model ) : null | Illuminate\Contracts\Auth\Authenticatable Retrieves the Adldap User model from the specified Laravel model.

Method Details

discoverAdldapFromModel() protected method

Retrieves the Adldap User model from the specified Laravel model.
protected discoverAdldapFromModel ( mixed $model ) : null | Illuminate\Contracts\Auth\Authenticatable
$model mixed
return null | Illuminate\Contracts\Auth\Authenticatable

retrieveByCredentials() public method

public retrieveByCredentials ( array $credentials )
$credentials array

retrieveById() public method

public retrieveById ( $identifier )

retrieveByToken() public method

public retrieveByToken ( $identifier, $token )

retrieveLdapUserByCredentials() public method

validateCredentials() public method

public validateCredentials ( Illuminate\Contracts\Auth\Authenticatable $user, array $credentials )
$user Illuminate\Contracts\Auth\Authenticatable
$credentials array

Property Details

$user protected property

The currently authenticated LDAP user.
protected User,Adldap\Models $user
return Adldap\Models\User