FirebaseAuthVerifier v0.1.0 FirebaseAuthVerifier.SignerSource behaviour 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

Link to this callback

get_signers()

View Source
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.