refactor: remove dead code
This commit is contained in:
parent
55889c9d39
commit
d487299b75
|
@ -197,20 +197,6 @@ Authentication will verify that the value of claims in the JWT (taken from the P
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ssl_disable {
|
|
||||||
desc {
|
|
||||||
en: """SSL configuration."""
|
|
||||||
zh: """SSL 配置。"""
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
ssl_enable {
|
|
||||||
desc {
|
|
||||||
en: """SSL configuration."""
|
|
||||||
zh: """SSL 配置。"""
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
acl_claim_name {
|
acl_claim_name {
|
||||||
desc {
|
desc {
|
||||||
en: """JWT claim name to use for getting ACL rules."""
|
en: """JWT claim name to use for getting ACL rules."""
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
%% -*- mode: erlang -*-
|
%% -*- mode: erlang -*-
|
||||||
{application, emqx_authn, [
|
{application, emqx_authn, [
|
||||||
{description, "EMQX Authentication"},
|
{description, "EMQX Authentication"},
|
||||||
{vsn, "0.1.12"},
|
{vsn, "0.1.13"},
|
||||||
{modules, []},
|
{modules, []},
|
||||||
{registered, [emqx_authn_sup, emqx_authn_registry]},
|
{registered, [emqx_authn_sup, emqx_authn_registry]},
|
||||||
{applications, [kernel, stdlib, emqx_resource, emqx_connector, ehttpc, epgsql, mysql, jose]},
|
{applications, [kernel, stdlib, emqx_resource, emqx_connector, ehttpc, epgsql, mysql, jose]},
|
||||||
|
|
|
@ -91,11 +91,7 @@ desc('public-key') ->
|
||||||
?DESC('public-key');
|
?DESC('public-key');
|
||||||
desc('jwks') ->
|
desc('jwks') ->
|
||||||
?DESC('jwks');
|
?DESC('jwks');
|
||||||
desc(ssl_disable) ->
|
desc(undefined) ->
|
||||||
?DESC(ssl_disable);
|
|
||||||
desc(ssl_enable) ->
|
|
||||||
?DESC(ssl_enable);
|
|
||||||
desc(_) ->
|
|
||||||
undefined.
|
undefined.
|
||||||
|
|
||||||
common_fields() ->
|
common_fields() ->
|
||||||
|
|
Loading…
Reference in New Issue