⚠️ Deprecation NoticeGoogle has deprecated the use of embedded web-views for OAuth, which this library relies on. When making OAuth requests to Google, use the replacement GTMAppAuth library.
GTM OAuth 2: Google Toolbox for Mac - OAuth 2 Controllers
Project site https://github.com/google/gtm-oauth2
Discussion group http://groups.google.com/group/gtm-oauth2
The Google Toolbox for Mac OAuth 2 Controllers make it easy for Cocoa applications to sign in to services using OAuth 2 for authentication and authorization.
Features include:
- Complete embedded user interface using WebKit
- Works with Google APIs and with any standard OAuth 2 provider
- Handles sign-in, keychain storage of authorization token, and authorizing of requests
- Independent of other projects
To get started with GTM OAuth 2, read the wiki.
If you have a problem or want a new feature to be included in the library, please join the GTM-OAuth 2 discussion group or submit an issue.
The library incorporates the GTM Session Fetcher project.
There is a separate project for OAuth 1 controllers.
Other useful classes for Mac and iOS developers are available in the Google Toolbox for Mac.