Guardian v2.1.1 Guardian.Config View Source
Working with configuration for guardian.
Link to this section Summary
Types
Configuration values can be given using the following types
Functions
Resolves possible values from a configuration.
Link to this section Types
Link to this type
config_value() View Source
Configuration values can be given using the following types:
{MyModule, :func, [:some, :args]}Calls the function on the module with args- any other value
Link to this section Functions
Link to this function
resolve_value(v)
View Source
resolve_value(v)
View Source
resolve_value(value :: config_value()) :: any()
resolve_value(value :: config_value()) :: any()
Resolves possible values from a configuration.
{m, f, a}- Calls functionfon modulemwith argumentsaand returns the result- value - Returns other values as is