Skip to content

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

Merged
ncooke3 merged 31 commits into
masterfrom
callableFunctions
May 16, 2023
Merged

Firebase App Check One-time Use Tokens for Callable Functions SDK#11270
ncooke3 merged 31 commits into
masterfrom
callableFunctions

Conversation

@aiwenisevan

@aiwenisevan aiwenisevan commented May 10, 2023

Copy link
Copy Markdown
Contributor

Discussion

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

Testing

  • Added unit tests

API Changes

@ncooke3

ncooke3 commented May 12, 2023

Copy link
Copy Markdown
Member

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

Comment thread FirebaseAppCheck/Interop/FIRAppCheckInterop.h Outdated
Comment thread FirebaseAppCheck/Interop/FIRAppCheckInterop.h Outdated
Comment thread FirebaseFunctions/Sources/Functions.swift Outdated
Comment thread FirebaseFunctions/Sources/Functions.swift Outdated
Comment thread FirebaseFunctions/Tests/ObjCIntegration/ObjCAPITests.m
@ncooke3
ncooke3 force-pushed the callableFunctions branch from 2b591cd to bb8df26 Compare May 12, 2023 18:15
@github-actions

github-actions Bot commented May 12, 2023

Copy link
Copy Markdown
Contributor

Apple API Diff Report

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


[BUILD ERROR] FirebaseFunctions


@andrewheard andrewheard left a comment

Copy link
Copy Markdown
Contributor

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.

Comment thread FirebaseFunctions/CHANGELOG.md Outdated
Comment thread FirebaseFunctions/Sources/Functions.swift Outdated
Comment thread FirebaseFunctions/Sources/Functions.swift Outdated
Comment thread FirebaseFunctions/Sources/Functions.swift Outdated
Comment thread FirebaseFunctions/Sources/Functions.swift Outdated
Comment thread FirebaseFunctions/Sources/HTTPSCallableOptions.swift Outdated
ncooke3 and 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>
Comment thread FirebaseAppCheck/Sources/Core/FIRAppCheck.m
Comment thread FirebaseFunctions/Sources/Functions.swift
Updated `limitedUseTokenWithCompletion:` to always return a fresh limited-used token in every invocation (removed the `ongoingLimitedUseTokenPromise` property).
@ncooke3
ncooke3 merged commit 0cbe4f2 into master May 16, 2023
@ncooke3
ncooke3 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.
@firebase firebase locked and limited conversation to collaborators Jun 16, 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.

7 participants