View Source PowAssent.Config (PowAssent v0.4.18)
Methods to parse and modify configurations.
Summary
Functions
Gets the key value from the configuration.
Gets the provider configuration from the provided configuration.
Gets the providers for the configuration.
Merge new config for provider.
Puts a new key value to the configuration.
Raise a ConfigError exception.
Types
@type t() :: Keyword.t()
Functions
Gets the key value from the configuration.
If not found, it'll fall back to environment config, and lastly to the
default value which is nil
if not specified.
Gets the provider configuration from the provided configuration.
Gets the providers for the configuration.
Merge new config for provider.
The new config values are deep merged with the existing provider config. Any conflicting keys from the default config for the strategy will be fetched and the provider config deep merged unto it.
Puts a new key value to the configuration.
Raise a ConfigError exception.