SessionGuard::__construct()

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

SessionInterface::getHandler()

SessionHandlerInterface getHandler() Get the session handler instance. Return Value SessionHandlerInterface

SessionInterface::handlerNeedsRequest()

bool handlerNeedsRequest() Determine if the session handler needs a request. Return Value bool

SessionInterface::exists()

bool exists(string|array $key) Checks if an attribute exists. Parameters string|array $key Return Value bool

SessionGuard::viaRemember()

bool viaRemember() Determine if the user was authenticated via "remember me" cookie. Return Value bool

SessionGuard::setProvider()

void setProvider(UserProvider $provider) Set the user provider used by the guard. Parameters UserProvider $provider Return Value void

SessionGuard::setUser()

void setUser(Authenticatable $user) Set the current user. Parameters Authenticatable $user Return Value void

SessionGuard::setRequest()

$this setRequest(Request $request) Set the current request instance. Parameters Request $request Return Value $this

SessionGuard::validate()

bool validate(array $credentials = array()) Validate a user's credentials. Parameters array $credentials Return Value bool

SessionGuard::user()

Authenticatable|null user() Get the currently authenticated user. Return Value Authenticatable|null