Skip to content

GTMAppAuth 3.0.0

Compare
Choose a tag to compare
@mdmathias mdmathias released this 11 Apr 00:35
· 10 commits to master since this release
a122326
  • GTMAppAuth has been translated from Objective-C to Swift. (#190)
  • Improved API surface. (#203)
    • Renamed GTMAppAuthFetcherAuthorization to GTMAuthSession.
    • Added GTMAuthSessionStore protocol.
    • Added GTMKeychainStore class conforming to GTMAuthSessionStore providing keychain storage of GTMAuthSession objects as well as GTMOAuth2 compatibility.
      • Added the ability to specify a keychain access group rather than use the default group.
      • Stored representation of GTMAuthSession objects remains unchanged from that of GTMAppAuthFetcherAuthorization in previous versions of GTMAppAuth, allowing for backward and forward compatibility.
    • Significantly improved error handling.
    • Added AuthSessionDelegate protocol allowing clients to 1) provide additional token refresh parameters and 2) inspect and modify errors before they are returned during the authorize request flow.
  • Unit tests added. (#190, #202)

Note for CocoaPods Users

Update your Podfiles to include either use_frameworks! or use_frameworks! :linkage => :static. The latter will require that you have at least one Swift file; if you don't, then you can simply add one empty Swift file to your project.