SessionGuard::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

SessionGuard::check()

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

SessionGuard::attempting()

void attempting(mixed $callback) Register an authentication attempt event listener. Parameters mixed $callback Return Value void

SessionGuard::authenticate()

Authenticatable authenticate() Determine if the current user is authenticated. Return Value Authenticatable Exceptions AuthenticationException

Session::setFacadeApplication()

static void setFacadeApplication(Application $app) Set the application instance. Parameters Application $app Return Value void

Session::shouldReceive()

static Expectation shouldReceive() Initiate a mock expectation on the facade. Return Value Expectation

Session::swap()

static void swap(mixed $instance) Hotswap the underlying instance behind the facade. Parameters mixed $instance Return Value void

Session::__callStatic()

static mixed __callStatic(string $method, array $args) Handle dynamic, static calls to the object. Parameters string $method array $args Return Value mixed

SessionGuard

SessionGuard class SessionGuard implements StatefulGuard, SupportsBasicAuth (View source) Traits GuardHelpers These methods are typically the same across all guards.

Session::getFacadeRoot()

static mixed getFacadeRoot() Get the root object behind the facade. Return Value mixed