chore(authn): add jose dep
This commit is contained in:
parent
07ce636803
commit
ddda18bcb8
|
@ -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,
|
||||
|
|
|
@ -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"]},
|
||||
|
|
|
@ -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];
|
||||
|
|
|
@ -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"}}},
|
||||
|
|
Loading…
Reference in New Issue