trait
Illuminate
/
Auth
/
CreatesUserProviders
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
CreatesUserProviders
Properties
protected
$customProviderCreators array
The registered custom provider creators.
Default: []
Methods
public
createUserProvider ( $provider ) : UserProvider |null
Create the user provider implementation for the driver.
Parameters
- $provider string|null
protected
getProviderConfiguration ( $provider ) : array|null
Get the user provider configuration.
Parameters
- $provider string|null
protected
createDatabaseProvider ( $config ) : DatabaseUserProvider
Create an instance of the database user provider.
Parameters
- $config array
protected
createEloquentProvider ( $config ) : EloquentUserProvider
Create an instance of the Eloquent user provider.
Parameters
- $config array
public
getDefaultUserProvider ( ) : string
Get the default user provider name.