Skip to content

Firebase App Check One-time Use Tokens for Callable Functions SDK#11270

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 31 commits into from
May 16, 2023

Conversation

aiwenisevan
Copy link
Contributor

@aiwenisevanaiwenisevan commented May 10, 2023

Discussion

  • Implement one-time use token for Callable Functions SDK by following the proposal

Testing

  • Added unit tests

API Changes

@ncooke3
Copy link
Member

I've since updated the proposal with the latest revision. Introducing a new public HTTPSCallableOptions class is now part of the proposal.

@ncooke3ncooke3force-pushed the callableFunctions branch from 2b591cd to bb8df26CompareMay 12, 2023 18:15
@github-actions
Copy link
Contributor

github-actionsbot commented May 12, 2023

Apple API Diff Report

Commit: 00b8926
Last updated: Tue May 16 15:01 PDT 2023
View workflow logs & download artifacts


[BUILD ERROR] FirebaseFunctions


Copy link
Contributor

@andrewheardandrewheard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! My suggestions are all extremely nitpicky, feel free to ignore.

ncooke3and others added 6 commits May 15, 2023 17:39
Co-authored-by: Andrew Heard <andrewheard@google.com>
Co-authored-by: Andrew Heard <andrewheard@google.com>
Co-authored-by: Andrew Heard <andrewheard@google.com>
Co-authored-by: Andrew Heard <andrewheard@google.com>
Co-authored-by: Andrew Heard <andrewheard@google.com>
Co-authored-by: Andrew Heard <andrewheard@google.com>
Updated `limitedUseTokenWithCompletion:` to always return a fresh limited-used token in every invocation (removed the `ongoingLimitedUseTokenPromise` property).
@ncooke3ncooke3 merged commit 0cbe4f2 into masterMay 16, 2023
@ncooke3ncooke3 deleted the callableFunctions branch May 16, 2023 22:33
andrewheard added a commit that referenced this pull request May 19, 2023
Merged FirebaseAppCheck changes from PRs #11224 and #11270.
@firebasefirebase locked and limited conversation to collaborators Jun 16, 2023
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.
close