View Source Charon.SessionStore.RedisStore.Config (Charon v3.1.1)

Config module for Charon.SessionStore.RedisStore.

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.SessionStore.RedisStore.Config{
  get_signing_key: (Charon.Config.t() -> binary()),
  key_prefix: String.t()
}

Link to this section Functions

@spec from_enum(Enum.t()) :: t()

Build config struct from enumerable (useful for passing in application environment). Raises for missing mandatory keys and sets defaults for optional keys.

Link to this function

get_mod_config(charon_config)

View Source
@spec get_mod_config(Charon.Config.t()) :: t()

Get the config for this module from the parent Charon.Config struct.