View Source GlificWeb.SubdomainPlugConfig (Glific v5.1.6)

This is a struct that holds the configuration for GlificWeb.SubdomainPlug.

Here are the config keys allowed:

  • organization_handler: function to handle the organization param. Its return will be used as the organization.
  • assign: the name of the assign where we must save the organization.
  • endpoint: the Phoenix.Endpoint to get the host name to dicover the subdomain.

Link to this section Summary

Link to this section Types

@type t() :: %GlificWeb.SubdomainPlugConfig{
  assign: term(),
  endpoint: term(),
  organization_handler: term()
}