Triplex v1.3.0 Triplex.SessionPlugConfig View Source

This is a struct that holds the configuration for Triplex.SessionPlug.

Here are the config keys allowed:

  • tenant_handler: function to handle the tenant param. Its return will be used as the tenant.
  • assign: the name of the assign where we must save the tenant.
  • session: the session param name to load the tenant from.