PasswordBrokerManager
class PasswordBrokerManager implements PasswordBrokerFactory (View source)
Properties
protected Application | $app | The application instance. | |
protected array | $brokers | The array of created "drivers". |
Methods
void
mixed
broker(string|null $name = null)
Attempt to get the broker from the local cache.
resolve(string $name)
Resolve the given broker.
createTokenRepository(array $config)
Create a token repository instance based on the given configuration.
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.
Details
at line 34
void
__construct(Application $app)
Create a new PasswordBroker manager instance.
at line 45
mixed
broker(string|null $name = null)
Attempt to get the broker from the local cache.
at line 60
protected PasswordBroker
resolve(string $name)
Resolve the given broker.
at line 83
protected TokenRepositoryInterface
createTokenRepository(array $config)
Create a token repository instance based on the given configuration.
at line 109
protected array
getConfig(string $name)
Get the password broker configuration.
at line 119
string
getDefaultDriver()
Get the default password broker name.
at line 130
void
setDefaultDriver(string $name)
Set the default password broker name.
at line 142
mixed
__call(string $method, array $parameters)
Dynamically call the default driver instance.