Forces an authentication to bypass checkpoints.
public forceAuthenticate ( Cartalyst\Sentinel\Users\UserInterface | array $credentials, boolean $remember = false ) : Cartalyst\Sentinel\Users\UserInterface | boolean | ||
$credentials | Cartalyst\Sentinel\Users\UserInterface | array | |
$remember | boolean | |
return | Cartalyst\Sentinel\Users\UserInterface | boolean |
/** * Forces an authentication to bypass checkpoints. * * @param User|array $credentials * @param bool $remember * * @return User|bool */ public function forceAuthenticate($credentials, $remember = false) { return $this->sentinel->forceAuthenticate($credentials, $remember); }
/** * Forces an authentication to bypass checkpoints. * * @param \Cartalyst\Sentinel\Users\UserInterface|array $credentials * @param bool $remember * @return \Cartalyst\Sentinel\Users\UserInterface|bool * @static */ public static function forceAuthenticate($credentials, $remember = false) { return \Cartalyst\Sentinel\Sentinel::forceAuthenticate($credentials, $remember); }