PHP Class Adldap\Laravel\AdldapAuthServiceProvider

Inheritance: extends Illuminate\Support\ServiceProvider
ファイルを表示 Open project: adldap2/adldap2-laravel

Public Methods

Method Description
boot ( ) : void Run service provider boot operations.
provides ( ) : array Get the services provided by the provider.
register ( ) : void Register the service provider.

Protected Methods

Method Description
getUserProvider ( ) : string Returns the configured user provider.
newUserProvider ( Illuminate\Contracts\Hashing\Hasher $hasher, array $config ) : Illuminate\Contracts\Auth\UserProvider Returns a new Adldap user provider.

Method Details

boot() public method

Run service provider boot operations.
public boot ( ) : void
return void

getUserProvider() protected method

Returns the configured user provider.
protected getUserProvider ( ) : string
return string

newUserProvider() protected method

Returns a new Adldap user provider.
protected newUserProvider ( Illuminate\Contracts\Hashing\Hasher $hasher, array $config ) : Illuminate\Contracts\Auth\UserProvider
$hasher Illuminate\Contracts\Hashing\Hasher
$config array
return Illuminate\Contracts\Auth\UserProvider

provides() public method

Get the services provided by the provider.
public provides ( ) : array
return array

register() public method

Register the service provider.
public register ( ) : void
return void