ExFirebase v0.2.0 API Reference

Modules

Firebase Admin SDK

ExUnit.Assertion Helpers

Firebase authentication interface

HTTP request interface for authentication modules

GenServer process for storing a Firebase OAuth2 access token. The process fetches a token upon startup and reloads it upon expiration

Converts Firebase service account credentials into an ExFirebase.Auth.Certificate

Converts an ExFirebase.Auth.Certificate into a signed JWT

GenServer process for storing Firebase public keys. The process fetches keys upon startup and reloads them when cache expires

Module for verifying the authenticity of Firebase ID Tokens (JWT’s) that are generated by Firebase client SDK’s. See: https://firebase.google.com/docs/auth/admin/verify-id-tokens

Firebase messaging interface

HTTP request interface for messaging modules

The final consumer in the Queue GenStage pipeline. Requests & responses are broadcast through the :gproc registered process :fcm_queue_monitor

The ConsumerSupervisor in the Queue GenStage pipeline. It starts and supervises one consumer process for each FCM Request

Listens to events from :fcm_queue_monitor process to track metrics

The Producer in the Queue GenStage pipeline. It manages a queue of all payloads waiting to be sent

The ProducerConsumer in the Queue GenStage pipeline. It acts as an internal rate limiter for FCM requests

Exceptions