Documentation

PasswordBrokerManager
in package
implements PasswordBrokerFactory

Tags
mixin

\Illuminate\Contracts\Auth\PasswordBroker

Interfaces, Classes and Traits

PasswordBrokerFactory

Table of Contents

$app  : Application
The application instance.
$brokers  : array<string|int, mixed>
The array of created "drivers".
__call()  : mixed
Dynamically call the default driver instance.
__construct()  : void
Create a new PasswordBroker manager instance.
broker()  : PasswordBroker
Attempt to get the broker from the local cache.
getDefaultDriver()  : string
Get the default password broker name.
setDefaultDriver()  : void
Set the default password broker name.
createTokenRepository()  : TokenRepositoryInterface
Create a token repository instance based on the given configuration.
getConfig()  : array<string|int, mixed>
Get the password broker configuration.
resolve()  : PasswordBroker
Resolve the given broker.

Properties

Methods

__call()

Dynamically call the default driver instance.

public __call(string $method, array<string|int, mixed> $parameters) : mixed
Parameters
$method : string
$parameters : array<string|int, mixed>
Return values
mixed

getDefaultDriver()

Get the default password broker name.

public getDefaultDriver() : string
Return values
string

setDefaultDriver()

Set the default password broker name.

public setDefaultDriver(string $name) : void
Parameters
$name : string
Return values
void

getConfig()

Get the password broker configuration.

protected getConfig(string $name) : array<string|int, mixed>
Parameters
$name : string
Return values
array<string|int, mixed>

Search results