SessionGuard::setCookieJar()

void setCookieJar(QueueingFactory $cookie) Set the cookie creator instance used by the guard. Parameters QueueingFactory $cookie Return Value void

SessionGuard::onceBasic()

Response|null onceBasic(string $field = 'email', array $extraConditions = array()) Perform a stateless HTTP Basic login attempt. Parameters string $field array $extraConditions Return Value Response|null

SessionGuard::onceUsingId()

bool onceUsingId(mixed $id) Log the given user ID into the application without sessions or cookies. Parameters mixed $id Return Value bool

SessionGuard::setDispatcher()

void setDispatcher(Dispatcher $events) Set the event dispatcher instance. Parameters Dispatcher $events Return Value void

SessionGuard::once()

bool once(array $credentials = array()) Log a user into the application without sessions or cookies. Parameters array $credentials Return Value bool

SessionGuard::logout()

void logout() Log the user out of the application. Return Value void

SessionGuard::id()

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

SessionGuard::loginUsingId()

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

SessionGuard::guest()

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

SessionGuard::login()

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