oauth2.el is an implementation of the OAuth 2.0 protocol for Emacs. Download It is available from GNU ELPA. You can install it from M-x list-packages in Emacs 24.