Skip to content

Conversation

andrewheard
Copy link
Contributor

  • Removed the tokenForcingRefresh:completion: and limitedUseTokenWithCompletion: methods from GACAppCheck (getTokenForcingRefresh:completion: and getLimitedUseTokenWithCompletion: from GACAppCheckInterop remain).
  • The GACAppCheckInterop method completion handlers now return a GACAppCheckTokenInterop or NSError instead of a GACAppCheckTokenResultInterop (which held either a valid token on success or a dummy token + error on failure).
  • Removed GACAppCheckFake and GACAppCheckTokenResultFake from the SDK since these classes were unused.

These changes have been done to minimize the GACAppCheck API surface while still allowing the FIRAppCheck shim to be built.

#no-changelog

@andrewheard andrewheard marked this pull request as ready for review July 6, 2023 19:03
@andrewheard andrewheard requested a review from paulb777 July 6, 2023 19:03
@andrewheard andrewheard merged commit 89ca777 into appcheck-lite Jul 6, 2023
@andrewheard andrewheard deleted the ah/appcheck-lite-interop branch July 6, 2023 20:23
andrewheard added a commit that referenced this pull request Jul 20, 2023
- Removed the `tokenForcingRefresh:completion:` and `limitedUseTokenWithCompletion:` methods from `GACAppCheck` (`getTokenForcingRefresh:completion:` and `getLimitedUseTokenWithCompletion:` from `GACAppCheckInterop` remain).
- The `GACAppCheckInterop` method completion handlers now return a `GACAppCheckTokenInterop` or `NSError` instead of a `GACAppCheckTokenResultInterop` (which held either a valid token on success or a dummy token + error on failure).
- Removed `GACAppCheckFake` and `GACAppCheckTokenResultFake` from the SDK since these classes were unused.

These changes have been done to minimize the `GACAppCheck` API surface while still allowing the `FIRAppCheck` shim to be built.
@firebase firebase locked and limited conversation to collaborators Aug 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants