StatefulGuard::setUser()

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

StatefulGuard::user()

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

StatefulGuard::check()

bool check() Determine if the current user is authenticated. Return Value bool

StatefulGuard::loginUsingId()

Authenticatable loginUsingId(mixed $id, bool $remember = false) Log the given user ID into the application. Parameters mixed $id bool $remember Return Value Authenticatable

StatefulGuard::attempt()

bool attempt(array $credentials = array(), bool $remember = false, bool $login = true) Attempt to authenticate a user using the given credentials. Parameters array $credentials bool $remember bool $login Return Value bool

StatefulGuard::guest()

bool guest() Determine if the current user is a guest. Return Value bool

StatefulGuard::login()

void login(Authenticatable $user, bool $remember = false) Log a user into the application. Parameters Authenticatable $user bool $remember Return Value void

StatefulGuard::id()

int|null id() Get the ID for the currently authenticated user. Return Value int|null

StartSession::terminate()

void terminate(Request $request, Response $response) Perform any final actions for the request lifecycle. Parameters Request $request Response $response Return Value void

StartSession::__construct()

void __construct(SessionManager $manager) Create a new session middleware. Parameters SessionManager $manager Return Value void