32 Commits
Author SHA1 Message Date
Nick Cooke 3c6d658bbb refactor: migrate GACAppCheckTests off OCMock (Milestone 1) (#107) 2026-07-17 13:35:53 -04:00
Paul BeusterienandNick Cooke 7ef9d41b33 fix: Reset and retry attestation on DCErrorUnknownSystemFailure during assertion phase (#96)
Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
2026-07-07 18:07:30 -04:00
Andrew HeardandNick Cooke bb4002485f feat: Only log local debug tokens when not yet registered (#95)
Co-authored-by: Nick Cooke <nickcooke@google.com>
2026-06-10 11:30:20 -04:00
f6b4582ed1 feat: Add Recaptcha attestation provider (#94)
Signed-off-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
Co-authored-by: Hitesh Maurya <hiteshmaurya@google.com>
Co-authored-by: Paul Beusterien <paulbeusterien@google.com>
2026-06-09 16:44:19 -04:00
Nick Cooke cf707f9306 [AppCheck] Reset to attestation flow if assertion flow fails (#76) 2024-10-04 15:07:32 -04:00
Nick Cooke 34e4ef0800 [v11] Migrate to GoogleUtilities v8 (#61)
Signed-off-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
2024-06-12 15:22:18 -04:00
Paul Beusterien ad32d9baa4 [v11] Update minimum platform dependencies (#60) 2024-06-06 17:49:25 -07:00
Nick Cooke 918c743fc2 [Infra] Fix flakes in SPM tests by extending timeout (#56)
Signed-off-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
2024-05-09 19:02:42 -04:00
Nick Cooke 9c29eedf61 [App Attest] Reset App Attest key state if 'DCErrorInvalidInput' occurs (#54) 2024-05-09 14:38:25 -04:00
Nick Cooke 7d2688de03 [AppCheckCore] Migrate to GoogleUtilities's storage container (#53) 2024-04-12 15:40:49 -04:00
Andrew Heard 7a21efdb57 Add clientDataHash to App Attest failure reasons (#50) 2024-03-28 16:49:12 -04:00
Andrew Heard 5746b2d35c Reset App Attest key state if attestKey fails (#41) 2023-11-03 10:00:52 -04:00
Andrew Heard c083e4747a Replace XCTest module imports (#35) 2023-10-26 16:55:41 -04:00
Andrew Heard 6417d6a215 Add failure reasons for App Attest error cases (#32) 2023-10-24 18:03:48 -04:00
Andrew Heard 4e405b8c4f Rename debug token environment variable key (#24) 2023-09-07 10:57:38 -04:00
Andrew Heard d6b709f294 Set default log level in load instead of getter (#23) 2023-09-06 17:03:58 -04:00
Andrew Heard 023abd45d3 Add baseURL parameter to GACAppCheckDebugProvider constructor (#21) 2023-08-31 12:18:47 -04:00
Andrew Heard f77879ca75 Return GACAppCheckTokenResult in limitedUseTokenWithCompletion (#20) 2023-08-31 10:36:31 -04:00
Andrew Heard f2cc90d0ce Return GACAppCheckTokenResult in tokenForcingRefresh handler (#19) 2023-08-30 14:22:33 -04:00
Andrew Heard f191868209 Add GACAppCheckTokenResult type (#18) 2023-08-30 11:44:09 -04:00
Andrew Heard f53218675e Consistently use GACAppCheckTokenProtocol in public API (#15) 2023-08-23 10:12:24 -04:00
Andrew Heard f85d46bd67 Remove get prefix from getToken and getLimitedUseToken (#14) 2023-08-22 18:08:51 -04:00
Andrew Heard 8d0bdd3f24 Add generation of limited-use tokens with a TTL of 5 mins (#11) 2023-08-22 12:56:00 -04:00
Andrew Heard 2b623874c9 Add DeviceCheck isSupported check (#13) 2023-08-21 18:32:11 -04:00
Andrew Heard 1413786b89 Make GACAppAttestProvider's constructor nonnull (#12) 2023-08-21 13:54:26 -04:00
Andrew Heard c3bf9c299f Fix App Attest and DeviceCheck API availability (#10)
- Updated the `GAC_DEVICE_CHECK_PROVIDER_AVAILABILITY` and `GAC_APP_ATTEST_PROVIDER_AVAILABILITY` API availability macros to reflect the set of supported platforms for DeviceCheck (iOS 11+, macOS 10.15+, macCatalyst 13+, tvOS 11+, watchOS 9+) and App Attest (iOS 14+, macOS 11.3+, macCatalyst 14.5+, tvOS 15+, watchOS 9+).
- Removed the extraneous check for the watchOS 9 SDK since Xcode 14 is the minimum supported by App Check.
2023-08-11 17:00:47 -04:00
Andrew Heard ad9a140871 Remove FirebaseCoreExtension dependency in tests (#7)
Removed the dependency on FirebaseCoreExtension from firebase-ios-sdk in preparation for setting up CI workflows.
2023-08-10 10:02:17 -04:00
Andrew Heard 77461015f6 Fix FirebaseCore dependency in podspec (#1)
The App Check Core unit tests still have a dependency on Firebase Core (specifically, FirebaseCoreExtension). Updated the imports to framework-style <>, instead of "", since they are coming from the dependency rather than looking for a local path (different repo).

Updated the version from 10.13.0 to 0.1.0-alpha.1 to reflect the pre-release status.
2023-08-01 15:49:45 -04:00
Andrew Heard b12f472db8 Rename instanceName and storageID to serviceName (#11599)
For consistency, renamed both instanceName and storageID to serviceName for consistency.

In all cases, the serviceName is an identifier that differentiates multiple GACAppCheck instances such as when there are multiple FIRApps in use, or multiple dependent SDKs (e.g., Firebase and Google Sign-In). This unique identifier ensures their state is not shared in the Keychain or in User Defaults.
2023-08-01 13:48:42 -04:00
Andrew Heard fe4b137399 Remove App Check Core Interop SDK (#11595)
The ObjC Protocol-only interop SDK is not needed by our integrators.
2023-08-01 13:42:29 -04:00
Andrew Heard 90bcc7767f Make tokenDelegate nullable in GACAppCheck (#11592)
Made the tokenDelegate parameter nullable in the constructor for GACAppCheck since the feature is not used by all integrators. E.g., it is not needed if token refresh isn't used -- 'tokenDidUpdate:instanceName:' would never get called.

- Added parameter documentation to the 'initWithInstanceName:appCheckProvider:settings:tokenDelegate:resourceName:keychainAccessGroup' constructor in GACAppCheck.
- Renamed the umbrella header from AppCheck.h to AppCheckCore.h to match the framework name.
2023-08-01 13:31:24 -04:00
Andrew Heard 2d2d0e6228 Renamed AppCheck to AppCheckCore (#11581)
Renamed the App Check (Lite) SDK to App Check Core.
2023-07-21 10:17:20 -04:00