title: REST Authentication in PHP (CodeIgniter)
body: <p>I writing REST API form my web application. Application is written using CodeIgniter framework. Application itself is working fine, but I'm stuck on making REST Authentication. I think that basic Http Authentication will be good enough for some time. Public API is not yet planned.</p>
  
  <p>Is there any code example how to achieve REST Authentication so after user is authenticated he can freely call all protected methods.</p>