(credentials env-var)Decode the service account credentials held in the named environment variable. fire.admin needs the private key and client email out of these to mint custom tokens, which is signing rather than an api call.
Decode the service account credentials held in the named environment variable. fire.admin needs the private key and client email out of these to mint custom tokens, which is signing rather than an api call.
(sign claims' priv-key)(sign claims' priv-key header')Sign claims into an RS256 JWT. The header defaults to the bare {:alg "RS256"} this has always emitted; firebase custom tokens want :typ in there too, so it can be passed in.
Sign claims into an RS256 JWT. The header defaults to the bare {:alg "RS256"}
this has always emitted; firebase custom tokens want :typ in there too, so it
can be passed in.cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |