docs: add docs for client enrichment / special auth module configurations
This commit is contained in:
parent
e53cf17e4c
commit
30a3ea3dc4
|
@ -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}
|
||||
]}.
|
||||
|
|
Loading…
Reference in New Issue