Glific v0.3.1 GlificWeb.SubdomainPlugConfig View Source

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

Specs

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