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
Exemplo 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);
 }
Exemplo 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);
 }