View Source Charon.TokenFactory.Jwt.Config (Charon v3.2.0)
Config module for Charon.TokenFactory.Jwt
.
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.
Types
@type t() :: %Charon.TokenFactory.Jwt.Config{ get_keyset: (Charon.Config.t() -> Charon.TokenFactory.Jwt.keyset()), signing_key: binary() }
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.