public function create(UserInterface $user) {
    $this->tokens->purge($user);
    return $this->tokens->create($user);
  }
public function create(UserInterface $user) {
    $this->tokens->purge($user);
    return $this->tokens->create($user);
  }
public function create ( UserInterface $ user ) { $ this -> tokens -> purge ( $ user ) ; return $ this -> tokens -> create ( $ user ) ; }
Create auth token for user.

@param UserInterface $user
@return bool|AuthToken
Create auth token for user .