bshaffer / oauth2-server-php-docs

documentation for the oauth2-server-php library
231 stars 148 forks source link

Picking up token in HTTP Header #10

Closed yankeeinlondon closed 11 years ago

yankeeinlondon commented 11 years ago

I remember seeing reference to a configuration option that would allow the access_token to be passed in the header of the message rather than the default of appending to the URL as a GET variable. I can't, however, find that reference anywhere.

Hoping you can point me to how best to achieve this goal.

yankeeinlondon commented 11 years ago

Ok, I can see now that it is -- by default -- looking at the Authorization header variable.