Guard::basic()

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

Guard::attempting()

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

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

Guard

Guard class Guard implements HttpKernelInterface (View source) Methods void __construct(HttpKernelInterface $app, Encrypter $encrypter) Create a new CookieGuard instance. Response handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) Handle the given request and get the response.

Guard

Guard interface Guard (View source) Methods bool check() Determine if the current user is authenticated. bool guest() Determine if the current user is a guest. Authenticatable|null user() Get the currently authenticated user. int|null id() Get the ID for the currently authenticated user. bool validate(array $credentials = array()) Validate a user's credentials. void setUser(Authenticatable $user) Set the current user.

Guard

Guard class Guard implements Guard (View source) Methods void __construct(UserProvider $provider, SessionInterface $session, Request $request = null) Create a new authentication guard. bool check() Determine if the current user is authenticated. bool guest() Determine if the current user is a guest. Authenticatable|null user() Get the currently authenticated user. int|null id() Get the ID for the currently authenticated user. bool once(array $credentials = array()

Grammar::wrapTable()

string wrapTable(Expression|string $table) Wrap a table in keyword identifiers. Parameters Expression|string $table Return Value string

Grammar::wrapTable()

string wrapTable(Expression|string $table) Wrap a table in keyword identifiers. Parameters Expression|string $table Return Value string

Grammar::wrapTable()

string wrapTable(Expression|string $table) Wrap a table in keyword identifiers. Parameters Expression|string $table Return Value string

Grammar::wrapArray()

array wrapArray(array $values) Wrap an array of values. Parameters array $values Return Value array