ExFirebaseAuth.KeyStore (ex_firebase_auth v0.5.1)
The KeyStore handles fetching public keys from Google's servers to verify public keys with
Warnings
By default ExFirebaseAuth.KeyStore will stop when the initial fetch failed. This behavior can be changed by the following config key:
config :ex_firebase_auth, :key_store_fail_strategy, :silent
The following values are available
:stop
: Stops server after initial fetch fails.:warn
: Logs a warning message with Logger. Continues retrying to fetch.:silent
: Silently retries fetching new public keys, without warning when failing.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Callback implementation for GenServer.init/1
.
Returns the configured key_store_fail_strategy
Link to this section Functions
Link to this function
child_spec(init_arg)
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
init(_)
Callback implementation for GenServer.init/1
.
Link to this function
key_store_fail_strategy()
Specs
key_store_fail_strategy() :: :stop | :warn | :silent
Returns the configured key_store_fail_strategy
Examples
iex> ExFirebaseAuth.Token.key_store_fail_strategy()
:stop
Link to this function