Changes 'OAuth2' to 'Bearer'.
Change OAuth2 HTTP Auth header to 'Bearer'
Reference GH Issue#643
I have removed OAuth from the project core as of the reboot-networking-layer branch. The recommendation going forward will be to pick an OAuth library of your choosing capable of signing NSURLRequest's and provide those to RestKit.
@blakewatters Is there an example somewhere of providing a signed NSURLRequest to RestKit?
@amiel You have two choices for integrating an OAuth provider:
I do not have an example of this, but I hope the above is enough to get you going...
@blakewatters Thanks for laying out some options 😃
@blakewatters: correct me if I'm wrong, but it looks like RKHTTPRequestOperation is not part of 0.10.3 (which I think is the latest stable release right?). So do I need to use the development branch to do this?
I'm excited about the changes you are making in development, but it's a bit harder for me to use because the documentation and examples aren't quite there yet.
Would it be possible to sign requests in this way using RestKit 0.10.3 or should I bite the bullet and try to figure out the development branch?
@blakewatters Your suggestion is of great help to me!! THX~