Proca.Server.Jwks (proca v3.0.2)

Because JWT authentication requires a JWKS certificate retrieved from an url (from the token issuer), this server holds/caches this information.

This server will try to fetch a new key when asked for nonexistent key id. XXX protect against forcing this server to retry getting a fake kid

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for GenServer.init/1.

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

handle_continue(atom, arg)

Callback implementation for GenServer.handle_continue/2.

Callback implementation for GenServer.init/1.

Link to this function

jwks_to_keys(jwks)

Link to this function

start_link(keys_url)