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.
createDatabaseProvider(array $config)
Create an instance of the database user provider.
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.