FirebaseAuthVerifier.SignerSource behaviour (FirebaseAuthVerifier v0.2.0) View Source

The behaviour of a SignerSource

Link to this section Summary

Callbacks

Expects to return a map with the Joken.Signer's ID as a key.

Link to this section Callbacks

Specs

get_signers() :: %{required(binary()) => Joken.Signer.t()} | {:error, term()}

Expects to return a map with the Joken.Signer's ID as a key.

NOTE: This is what is returned by Google and for now I do not know if it's necessary to do it this way, so it might change in the future.