title: Rest with oauth2
body: <p>I'm using <a href="http://alexbilbie.com/2013/02/securing-your-api-with-oauth-2/" rel="nofollow">this library</a> with my codeigniter rest service. Basically, I have a REST_controller, that is inherited, and checks for a valid token, using that library.</p>
  
  <p>All I want is to provide an API to secure some of the API methods. 
  Now, I'm lost reading most of the specs for oauth2 and tutorials regarding that library.</p>
  
  <p>Can anyone help me, proving good tutorials, examples and explanations on I can achieve, a simple login system and then, call user authenticated methods.</p>
  
  <p>Thanks in advance</p>