Webmachine implementation of an OAuth2 server. Check out the test branch, all the code is there at the moment.