SessionInterface::getHandler()

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

SessionInterface::exists()

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

SessionInterface

SessionInterface interface SessionInterface implements SessionInterface (View source) Methods bool exists(string|array $key) Checks if an attribute exists. SessionHandlerInterface getHandler() Get the session handler instance. bool handlerNeedsRequest() Determine if the session handler needs a request. void setRequestOnHandler(Request $request) Set the request on the handler instance.

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

SessionGuard::viaRemember()

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

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

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::setProvider()

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