forceAuthenticateAndRemember() public method

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
Esempio n. 1
0
 /**
  * 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);
 }
Esempio n. 2
0
 /**
  * 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);
 }