SessionGuard::basic()

Response|null basic(string $field = 'email', array $extraConditions = array()) Attempt to authenticate using HTTP Basic Auth. Parameters string $field array $extraConditions Return Value Response|null

SessionGuard::authenticate()

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

SessionGuard::attempting()

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

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

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

Session::__callStatic()

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

Session::swap()

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

Session::shouldReceive()

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

Session::setFacadeApplication()

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

Session::getFacadeRoot()

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