View Source Charon.TokenFactory.Jwt.Config (Charon v3.0.3)
Config module for Charon.TokenFactory.Jwt
.
Link to this section Summary
Functions
Build config struct from enumerable (useful for passing in application environment). Raises for missing mandatory keys and sets defaults for optional keys.
Get the config for this module from the parent Charon.Config
struct.
Link to this section Types
@type t() :: %Charon.TokenFactory.Jwt.Config{ get_keyset: (Charon.Config.t() -> Charon.TokenFactory.Jwt.keyset()), signing_key: binary() }
Link to this section Functions
Build config struct from enumerable (useful for passing in application environment). Raises for missing mandatory keys and sets defaults for optional keys.
@spec get_mod_config(Charon.Config.t()) :: t()
Get the config for this module from the parent Charon.Config
struct.