PowAssent v0.1.0-rc.1 PowAssent.Config View Source
Methods to parse and modify configurations.
Link to this section Summary
Functions
Gets the application environment configuration for the provided :otp_app
Gets the provider configuration from the provided configuration
Gets the providers for the configuration
Link to this section Functions
Link to this function
env_config(config \\ [])
View Source
env_config(Pow.Config.t()) :: Pow.Config.t()
Gets the application environment configuration for the provided :otp_app
.
If no :otp_app
defined, it’ll just pull the global environment configuration.
Link to this function
get_provider_config(config, provider)
View Source
get_provider_config(Pow.Config.t(), atom()) :: Pow.Config.t() | no_return()
Gets the provider configuration from the provided configuration.
Link to this function
get_providers(config)
View Source
get_providers(Pow.Config.t()) :: Pow.Config.t()
Gets the providers for the configuration.