GTMAppAuth 3.0.0
- GTMAppAuth has been translated from Objective-C to Swift. (#190)
- Improved API surface. (#203)
- Renamed
GTMAppAuthFetcherAuthorization
toGTMAuthSession
. - Added
GTMAuthSessionStore
protocol. - Added
GTMKeychainStore
class conforming toGTMAuthSessionStore
providing keychain storage ofGTMAuthSession
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 ofGTMAppAuthFetcherAuthorization
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.
- Renamed
- Unit tests added. (#190, #202)
Note for CocoaPods Users
Update your Podfile
s 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.