CreatesUserProviders
trait CreatesUserProviders (View source)
Properties
protected array | $customProviderCreators | The registered custom provider creators. |
Methods
UserProvider|null | createUserProvider(string|null $provider = null) Create the user provider implementation for the driver. | |
array|null | getProviderConfiguration(string|null $provider) Get the user provider configuration. | |
DatabaseUserProvider | createDatabaseProvider(array $config) Create an instance of the database user provider. | |
EloquentUserProvider | createEloquentProvider(array $config) Create an instance of the Eloquent user provider. | |
string | getDefaultUserProvider() Get the default user provider name. |
Details
UserProvider|null createUserProvider(string|null $provider = null)
Create the user provider implementation for the driver.
protected array|null getProviderConfiguration(string|null $provider)
Get the user provider configuration.
protected DatabaseUserProvider createDatabaseProvider(array $config)
Create an instance of the database user provider.
protected EloquentUserProvider createEloquentProvider(array $config)
Create an instance of the Eloquent user provider.
string getDefaultUserProvider()
Get the default user provider name.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.7/Illuminate/Auth/CreatesUserProviders.html