https://bitbucket.org/atebits/oauthcore