CreatesUserProviders
trait CreatesUserProviders
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.
string|null
getDefaultUserProvider()
Get the provider name declared by the current default guard.
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.
Details
at line 22
UserProvider|null
createUserProvider(string|null $provider = null)
Create the user provider implementation for the driver.
at line 48
string|null
getDefaultUserProvider()
Get the provider name declared by the current default guard.
at line 56
protected array|null
getProviderConfiguration(string|null $provider)
Get the user provider configuration.
at line 68
protected DatabaseUserProvider
createDatabaseProvider(array $config)
Create an instance of the database user provider.
at line 80
protected EloquentUserProvider
createEloquentProvider(array $config)
Create an instance of the Eloquent user provider.