FirebaseAuthVerifier.CertificateManager (FirebaseAuthVerifier v0.2.0) View Source

A SourceSigner that caches the Joken.Signers accord to the max-age of the cache header on the response.

Done according to: https://firebase.google.com/docs/auth/admin/verify-id-tokens#verify_id_tokens_using_a_third-party_jwt_library

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Get the Joken.Signers built from Google's signing certificate(s), returned as a map with the ID as the key.

Starts and links the application

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

get_signers(timeout \\ Application.get_env(:firebase_auth_verifier, :verify_timeout, 2500))

View Source

Get the Joken.Signers built from Google's signing certificate(s), returned as a map with the ID as the key.

Starts and links the application