stateless() public method

Attempt a stateless authentication.
public stateless ( Cartalyst\Sentinel\Users\UserInterface | array $credentials ) : Cartalyst\Sentinel\Users\UserInterface | boolean
$credentials Cartalyst\Sentinel\Users\UserInterface | array
return Cartalyst\Sentinel\Users\UserInterface | boolean
Beispiel #1
0
 /**
  * Attempt a stateless authentication.
  *
  * @param  User|array $credentials
  *
  * @return User|bool
  */
 public function stateless($credentials)
 {
     return $this->sentinel->stateless($credentials);
 }
Beispiel #2
0
 /**
  * Check a user's credentials.
  *
  * @param  array $credentials
  *
  * @return mixed
  */
 public function byCredentials(array $credentials)
 {
     return $this->sentinel->stateless($credentials);
 }
 /**
  * Attempt a stateless authentication.
  *
  * @param \Cartalyst\Sentinel\Users\UserInterface|array $credentials
  * @return \Cartalyst\Sentinel\Users\UserInterface|bool 
  * @static 
  */
 public static function stateless($credentials)
 {
     return \Cartalyst\Sentinel\Sentinel::stateless($credentials);
 }