praw-dev/praw — pull request #134 by logan (2012-10-24 22:04:49+00:00)
Title: Add OAuth 2 support

This adds basic support for using praw as an OAuth 2 client. A dependency on rauth is added, so as not to worry about code for composing authorization URLs or fetching tokens. Once a client is authorized via OAuth, all API requests are simply directed to the oauth domain, with a bearer token authorization header added to each request.

I've also added a couple of rough examples under `examples/oauth`.