Latest 1.1.5
Homepage https://github.com/google/gtm-oauth2
License Apache
Platforms ios 7.0, osx 10.9
Dependencies GTMSessionFetcher
Frameworks Security, SystemConfiguration

:warning: Deprecation Notice

Google 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

Build Status

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.

Latest podspec

{
    "name": "GTMOAuth2",
    "version": "1.1.5",
    "authors": "Google Inc.",
    "homepage": "https://github.com/google/gtm-oauth2",
    "license": {
        "type": "Apache",
        "file": "LICENSE"
    },
    "source": {
        "git": "https://github.com/google/gtm-oauth2.git",
        "tag": "v1.1.5"
    },
    "summary": "Google Toolbox for Mac - OAuth 2 Controllers",
    "description": "The Google Toolbox for Mac OAuth 2 Controllers make it easy for Cocoanapplications to sign in to services using OAuth 2 for authenticationnand authorization.nnThis version can be used with iOS u2265 7.0 or OS X u2265 10.9.",
    "platforms": {
        "ios": "7.0",
        "osx": "10.9"
    },
    "requires_arc": false,
    "source_files": "Source/*.{h,m}",
    "ios": {
        "source_files": "Source/Touch/*.{h,m}",
        "resources": "Source/Touch/*.xib"
    },
    "osx": {
        "source_files": "Source/Mac/*.{h,m}",
        "resources": "Source/Mac/*.xib"
    },
    "user_target_xcconfig": {
        "GCC_PREPROCESSOR_DEFINITIONS": "$(inherited) GTM_OAUTH2_USE_FRAMEWORK_IMPORTS=1"
    },
    "frameworks": [
        "Security",
        "SystemConfiguration"
    ],
    "dependencies": {
        "GTMSessionFetcher": [
            "~> 1.1"
        ]
    }
}

Pin It on Pinterest

Share This