diff --git a/src/emqttd_auth_mod.erl b/src/emqttd_auth_mod.erl index 40eb51cfc..8ec5d16cd 100644 --- a/src/emqttd_auth_mod.erl +++ b/src/emqttd_auth_mod.erl @@ -36,6 +36,8 @@ -ifdef(use_specs). +-callback init(AuthOpts :: list()) -> {ok, State :: any()}. + -callback check(Client, Password, State) -> ok | ignore | {error, string()} when Client :: mqtt_client(), Password :: binary(),