string getDefaultDriver() Get the default authentication driver name. Return Value string
$this extend(string $driver, Closure $callback) Register a custom driver creator Closure. Parameters string $driver Closure $callback Return Value $this
mixed guard(string|null $name = null) Attempt to get the guard from the local cache. Parameters string|null $name Return Value mixed
UserProvider createUserProvider(string $provider) Create the user provider implementation for the driver. Parameters string $provider Return Value UserProvider Exceptions InvalidArgumentException
AuthManager class AuthManager implements Factory (View source) Traits CreatesUserProviders
TokenGuard createTokenDriver(string $name, array $config) Create a token based authentication guard. Parameters string $name array $config Return Value TokenGuard
SessionGuard createSessionDriver(string $name, array $config) Create a session based authentication guard. Parameters string $name array $config Return Value SessionGuard
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.
array guards() Get the guards that were checked. Return Value array
__construct($message = 'Unauthenticated.', array $guards = array()) Create a new authentication exception. Parameters $message array $guards
Page 951 of 996