title: Reading authorization bearer token using dotnetopenauth oauth2
body: <p>I want to read the access token from the http request when the validate end point is called. </p>
  
  <p>I was hoping that is as easy as calling </p>
  
  <p><code>ResourceServer.GetAccessToken()</code> which returns AccessToken object that contains properties of the token.</p>
  
  <p>I could easily read from             </p>
  
  <p><code>var accessToken = httpRequestBase.Headers["Authorization"];</code></p>
  
  <p>But is this recommended method? or how could I read the header in a safe way?</p>