Commit Graph
9 Commits
Author SHA1 Message Date
Andrew Heard d12ab82796 Remove Firebase-specific implementation from GACAppCheckAPIService (#11324)
- Removed the unused `appID` property from `GACAppCheckAPIService`.
- Removed heartbeat logging tests from `GACAppCheckAPIServiceTests`.
- Added request hook, additional headers and API key tests to `GACAppCheckAPIServiceTests`.
2023-07-20 10:35:11 -04:00
Andrew Heard 2e7186f505 Integrate FirebaseAppCheck changes into AppCheck (#11308) 2023-07-20 10:35:11 -04:00
Andrew Heard 57eea157a6 Remove AppCheckProviderFactory from App Check Lite (#11290)
Removed the GACAppCheckProviderFactory protocol, and classes conforming to it, since they are no longer used in the non-Firebase-specific App Check SDK.
2023-07-20 10:35:11 -04:00
Andrew Heard 69374b221e [App Check] Expose initWithApp:appCheckProvider: (#11288)
Publicly exposed the initWithApp:appCheckProvider: constructor in GACAppCheck for the non-Firebase-specific App Check SDK. Since an AppCheckProvider is explicitly specified when constructing this generic App Check SDK, the AppCheckProviderFactory protocol / pattern / functionality is no longer used.

Added a podspec for AppCheckInterop and added it as a dependency in the existing AppCheck podspec. This is a lightweight, protocol-only, dependency that non-Firebase SDKs can make use of.
2023-07-20 10:35:11 -04:00
Andrew Heard ab0f574162 Extract heartbeat logger from GACAppCheckAPIService (#11277)
Removed the direct dependency on FIRHeartbeatLoggerProtocol from GACAppCheckAPIService, moving it up into the App Check providers.

Added request hooks (blocks) to allow heartbeat logging headers to be added to requests before they are sent.
2023-07-20 10:35:11 -04:00
Andrew Heard 03cdd73ba4 Remove Firebase-specific implementation in GACAppCheckStorage (#11273)
Removed Firebase-specific implementation details (Google App ID and Firebase App Name) from GACAppCheckStorage.
2023-07-20 10:35:11 -04:00
Andrew Heard e5e15dbd5b Replace GACAppCheckLogger macros with NSLog wrappers (#11269)
Added logging macros as drop-in replacements for the GAC/FIRAppCheckLogger macros. These are simple wrappers around NSLog and are not compiled out based on the desired logging level.
2023-07-20 10:35:11 -04:00
Andrew Heard dda78b0925 Add AppCheck as a dependency of FirebaseAppCheck (#11257) 2023-07-20 10:35:11 -04:00
Andrew Heard dcc746584b Fork App Check dir for use outside of Firebase (#11247) 2023-07-20 10:35:11 -04:00