Commit Graph
8 Commits
Author SHA1 Message Date
Andrew Heard f191868209 Add GACAppCheckTokenResult type (#18) 2023-08-30 11:44:09 -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 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 6446e93e83 Implement FIRAppCheckSettings as subclass (#11597)
Added a class GACAppCheckSettings that conforms to GACAppCheckSettingsProtocol and implemented FIRAppCheckSettings as a subclass of it.
2023-08-01 13:37:56 -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