class
Illuminate
/
Auth
/
RequestGuard
You are viewing an older version of the documentation. For the latest, please visit master documentation.
RequestGuard
Implements
Uses
Properties
protected
$callback callable
The guard callback.
Default: null
Methods
public
__construct ( callable $callback , Request $request , UserProvider $provider ) : void
Create a new authentication guard.
Parameters
- $callback callable
- $request Request
- $provider UserProvider |null
public
validate ( array $credentials ) : bool
Validate a user's credentials.
Parameters
- $credentials array