docs: add docs for client enrichment / special auth module configurations

This commit is contained in:
Thales Macedo Garitezi 2022-11-03 10:43:27 -03:00
parent e53cf17e4c
commit 30a3ea3dc4
1 changed files with 7 additions and 0 deletions

View File

@ -852,10 +852,17 @@ end}.
{datatype, string}
]}.
%% @doc Specify a module that defines the `enrich_clientid_alias/2'
%% function. This function will be used to enrich the client/channel
%% information with clientid and/or common name aliases (or other
%% enrichments the module may implement).
{mapping, "clientid_enrichment_module", "emqx.clientid_enrichment_module", [
{datatype, atom}
]}.
%% @doc Specify a module that defines the `check_authn/2' function.
%% This function will be used in the `client.authenticate' hook as a
%% way to implement custom authentication logic.
{mapping, "special_auth_module", "emqx.special_auth_module", [
{datatype, atom}
]}.