You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 21, 2026. It is now read-only.
djnicolson edited this page May 12, 2015
·
4 revisions
This project contains sample code for using OAuth 2.0 with Gmail. The code here focuses on using OAuth credentials to connect to Gmail. There is much more sample code available, including examples of obtaining and authorizing OAuth credentials, in the Google APIs Client Libraries.
OAuth2DotPyRunThrough gives a quick run through of using the Python sample code to generate and authorize OAuth 2.0 credentials, and to use them to connect to Gmail.
JavaSampleCode describes the Java sample code for connecting to Gmail with OAuth 2.0 credentials.
PhpSampleCode describes the PHP sample code for connecting to Gmail with OAuth 2.0 credentials.