trait Illuminate / Auth / CreatesUserProviders

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.