title: How do you implement authentication in servicestack.net
body: <p>I'm investigating servicestack.net - but it's examples and articles don't seem to cover authentication - is this something handled by servicestack.net - and if so how?</p>
  
  <p>In particular I'm interested in implementing support for:</p>
  
  <ul>
  <li>OAuth (So being able to inspect the raw request and validate it/retrieve the associated user info and associate with the request prior to passing it onto servicestack.net for processing).</li>
  <li>Session/cookie based authentication (so allowing for Ajax clients which already have a valid ASP.Net session to use that for authentication, instead of needing to explicitly pass login and password details to obtain a session token suitable for submitting with subsequent requests).</li>
  </ul>
  
  <p>Could someone point me in the direction of documentation/examples that demonstrate authentication/security when using the ServiceStack.Net framework.</p>