PasswordBrokerManager
class PasswordBrokerManager implements PasswordBrokerFactory mixin PasswordBroker (View source)
Properties
protected Application | $app | The application instance. |
|
protected array | $brokers | The array of created "drivers". |
Methods
Attempt to get the broker from the local cache.
Resolve the given broker.
Create a token repository instance based on the given configuration.
Get the password broker configuration.
Get the default password broker name.
Set the default password broker name.
Dynamically call the default driver instance.
Details
void
__construct(Application $app)
Create a new PasswordBroker manager instance.
PasswordBroker
broker(string|null $name = null)
Attempt to get the broker from the local cache.
protected PasswordBroker
resolve(string $name)
Resolve the given broker.
protected TokenRepositoryInterface
createTokenRepository(array $config)
Create a token repository instance based on the given configuration.
protected array
getConfig(string $name)
Get the password broker configuration.
string
getDefaultDriver()
Get the default password broker name.
void
setDefaultDriver(string $name)
Set the default password broker name.
mixed
__call(string $method, array $parameters)
Dynamically call the default driver instance.