Overview of GTMAppAuth for Apple Platforms
masterGTMAppAuth is a library designed for iOS, macOS, tvOS, and watchOS that enables the use of AppAuth alongside Google Toolbox for Mac - Session Fetcher and Google APIs Client Library for Objective-C For REST.
It provides an implementation of the GTMFetcherAuthorizationProtocol to authorize requests using AppAuth.
Key benefits include:
- Security & Usability: It uses the user's default browser for authorization, following modern OAuth best practices for native apps (RFC 8252).
- Session Reuse: Users can leverage existing sessions in their default browser.
- Migration Path: It offers compatibility methods for
GTMOAuth2, allowing developers to migrate while preserving previously serialized authorizations so users do not need to re-authenticate.