chore(authn): add jose dep

This commit is contained in:
zhouzb 2021-07-15 17:14:35 +08:00
parent 07ce636803
commit ddda18bcb8
4 changed files with 4 additions and 7 deletions

View File

@ -1,4 +1,6 @@
{deps, []}.
{deps, [
{jose, {git, "https://github.com/potatosalad/erlang-jose", {tag, "1.11.1"}}}
]}.
{edoc_opts, [{preprocess, true}]}.
{erl_opts, [warn_unused_vars,

View File

@ -3,7 +3,7 @@
{vsn, "0.1.0"},
{modules, []},
{registered, [emqx_authn_sup, emqx_authn_registry]},
{applications, [kernel,stdlib,emqx_resource,ehttpc,epgsql,mysql]},
{applications, [kernel,stdlib,emqx_resource,ehttpc,epgsql,mysql,jose]},
{mod, {emqx_authn_app,[]}},
{env, []},
{licenses, ["Apache-2.0"]},

View File

@ -102,10 +102,6 @@ certificate(_) -> undefined.
endpoint(type) -> string();
endpoint(_) -> undefined.
% ssl_opts(type) -> hoconsc:t(hoconsc:ref(ssl_opts));
% ssl_opts(default) -> [];
% ssl_opts(_) -> undefined.
refresh_interval(type) -> integer();
refresh_interval(default) -> 300;
refresh_interval(validator) -> [fun(I) -> I > 0 end];

View File

@ -4,7 +4,6 @@
]}.
{deps, [
{jose, {git, "https://github.com/potatosalad/erlang-jose", {tag, "1.11.1"}}},
{eldap2, {git, "https://github.com/emqx/eldap2", {tag, "v0.2.2"}}},
{mysql, {git, "https://github.com/emqx/mysql-otp", {tag, "1.7.1"}}},
{epgsql, {git, "https://github.com/epgsql/epgsql", {tag, "4.4.0"}}},