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