firebase-kotlin-sdk
firebase-kotlin-sdk copied to clipboard
Add HTTPSCallableOptions parameter to `Functions.httpsCallable()` to Functions for all platforms
trafficstars
| Library | Class | Member | Platforms |
|---|---|---|---|
| functions | FirebaseFunctions | httpsCallable(..., options: HTTPSCallableOptions) | all (I personally need it for Android and iOS) |
The native FirebaseFunctions.httpsCallable() implementation has a new options parameter which allows setting requireLimitedUseAppCheckTokens. This allows prevention of replay attacks.
See https://firebase.google.com/docs/app-check/cloud-functions#replay-protection for details.
It would be great if we could also use this option via the firebase-kotlin-sdk.