void __construct(string $name, UserProvider $provider, SessionInterface $session, Request $request = null) Create a new authentication guard. Parameters string $name UserProvider $provider SessionInterface $session Request $request Return Value void
SessionHandlerInterface getHandler() Get the session handler instance. Return Value SessionHandlerInterface
bool handlerNeedsRequest() Determine if the session handler needs a request. Return Value bool
bool exists(string|array $key) Checks if an attribute exists. Parameters string|array $key Return Value bool
bool viaRemember() Determine if the user was authenticated via "remember me" cookie. Return Value bool
void setProvider(UserProvider $provider) Set the user provider used by the guard. Parameters UserProvider $provider Return Value void
void setUser(Authenticatable $user) Set the current user. Parameters Authenticatable $user Return Value void
$this setRequest(Request $request) Set the current request instance. Parameters Request $request Return Value $this
bool validate(array $credentials = array()) Validate a user's credentials. Parameters array $credentials Return Value bool
Authenticatable|null user() Get the currently authenticated user. Return Value Authenticatable|null
Page 173 of 996