firebase-kotlin-sdk icon indicating copy to clipboard operation
firebase-kotlin-sdk copied to clipboard

Add HTTPSCallableOptions parameter to `Functions.httpsCallable()` to Functions for all platforms

Open ubuntudroid opened this issue 2 years ago • 0 comments
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.

ubuntudroid avatar Jul 17 '23 12:07 ubuntudroid