AuthManager::guard()

mixed guard(string|null $name = null) Attempt to get the guard from the local cache. Parameters string|null $name Return Value mixed

AuthManager::getDefaultDriver()

string getDefaultDriver() Get the default authentication driver name. Return Value string

AuthManager::extend()

$this extend(string $driver, Closure $callback) Register a custom driver creator Closure. Parameters string $driver Closure $callback Return Value $this

AuthManager::createUserProvider()

UserProvider createUserProvider(string $provider) Create the user provider implementation for the driver. Parameters string $provider Return Value UserProvider Exceptions InvalidArgumentException

AuthManager::createTokenDriver()

TokenGuard createTokenDriver(string $name, array $config) Create a token based authentication guard. Parameters string $name array $config Return Value TokenGuard

AuthManager::createSessionDriver()

SessionGuard createSessionDriver(string $name, array $config) Create a session based authentication guard. Parameters string $name array $config Return Value SessionGuard

AuthManager

AuthManager class AuthManager implements Factory (View source) Traits CreatesUserProviders

AuthenticationException::__construct()

__construct($message = 'Unauthenticated.', array $guards = array()) Create a new authentication exception. Parameters $message array $guards

AuthenticationException::guards()

array guards() Get the guards that were checked. Return Value array

AuthenticationException

AuthenticationException class AuthenticationException extends Exception (View source) Methods __construct($message = 'Unauthenticated.', array $guards = array()) Create a new authentication exception. array guards() Get the guards that were checked.