From 48d8381a6df506b850d20fcbed734fb9f83b634f Mon Sep 17 00:00:00 2001 From: "Zaiming (Stone) Shi" Date: Mon, 17 Apr 2023 21:22:28 +0200 Subject: [PATCH] docs: update doc refs --- rel/i18n/emqx_authn_jwt.hocon | 6 +++--- rel/i18n/emqx_authn_mnesia.hocon | 2 +- rel/i18n/emqx_authn_mongodb.hocon | 2 +- rel/i18n/emqx_authn_mysql.hocon | 2 +- rel/i18n/emqx_authn_pgsql.hocon | 2 +- rel/i18n/emqx_authn_redis.hocon | 2 +- rel/i18n/emqx_authz_schema.hocon | 6 +++--- rel/i18n/zh/emqx_authn_jwt.hocon | 6 +++--- rel/i18n/zh/emqx_authn_mnesia.hocon | 2 +- rel/i18n/zh/emqx_authn_mongodb.hocon | 2 +- rel/i18n/zh/emqx_authn_mysql.hocon | 2 +- rel/i18n/zh/emqx_authn_pgsql.hocon | 2 +- rel/i18n/zh/emqx_authn_redis.hocon | 2 +- rel/i18n/zh/emqx_authz_schema.hocon | 6 +++--- 14 files changed, 22 insertions(+), 22 deletions(-) diff --git a/rel/i18n/emqx_authn_jwt.hocon b/rel/i18n/emqx_authn_jwt.hocon index e28213e37..f947dcf5d 100644 --- a/rel/i18n/emqx_authn_jwt.hocon +++ b/rel/i18n/emqx_authn_jwt.hocon @@ -42,10 +42,10 @@ from.desc: from.label: """From Field""" -hmac-based.desc: +jwt_hmac.desc: """Configuration when the JWT for authentication is issued using the HMAC algorithm.""" -jwks.desc: +jwt_jwks.desc: """Configuration when JWTs used for authentication need to be fetched from the JWKS endpoint.""" keyfile.desc: @@ -54,7 +54,7 @@ keyfile.desc: keyfile.label: """Key File""" -public-key.desc: +jwt_public_key.desc: """Configuration when the JWT for authentication is issued using RSA or ECDSA algorithm.""" public_key.desc: diff --git a/rel/i18n/emqx_authn_mnesia.hocon b/rel/i18n/emqx_authn_mnesia.hocon index 4cfab9493..6770df090 100644 --- a/rel/i18n/emqx_authn_mnesia.hocon +++ b/rel/i18n/emqx_authn_mnesia.hocon @@ -1,6 +1,6 @@ emqx_authn_mnesia { -authentication.desc: +builtin_db.desc: """Configuration of authenticator using built-in database as data source.""" user_id_type.desc: diff --git a/rel/i18n/emqx_authn_mongodb.hocon b/rel/i18n/emqx_authn_mongodb.hocon index 97311f751..6d851f58f 100644 --- a/rel/i18n/emqx_authn_mongodb.hocon +++ b/rel/i18n/emqx_authn_mongodb.hocon @@ -39,7 +39,7 @@ salt_field.label: sharded-cluster.desc: """Configuration of authenticator using MongoDB (Sharded Cluster) as authentication data source.""" -standalone.desc: +single.desc: """Configuration of authenticator using MongoDB (Standalone) as authentication data source.""" } diff --git a/rel/i18n/emqx_authn_mysql.hocon b/rel/i18n/emqx_authn_mysql.hocon index 45634a4ad..5eb2d23e9 100644 --- a/rel/i18n/emqx_authn_mysql.hocon +++ b/rel/i18n/emqx_authn_mysql.hocon @@ -1,6 +1,6 @@ emqx_authn_mysql { -authentication.desc: +mysql.desc: """Configuration of authenticator using MySQL as authentication data source.""" query.desc: diff --git a/rel/i18n/emqx_authn_pgsql.hocon b/rel/i18n/emqx_authn_pgsql.hocon index a9d727785..696a17861 100644 --- a/rel/i18n/emqx_authn_pgsql.hocon +++ b/rel/i18n/emqx_authn_pgsql.hocon @@ -1,6 +1,6 @@ emqx_authn_pgsql { -authentication.desc: +postgresql.desc: """Configuration of authenticator using PostgreSQL as authentication data source.""" query.desc: diff --git a/rel/i18n/emqx_authn_redis.hocon b/rel/i18n/emqx_authn_redis.hocon index f39d54061..e8d98b9a1 100644 --- a/rel/i18n/emqx_authn_redis.hocon +++ b/rel/i18n/emqx_authn_redis.hocon @@ -12,7 +12,7 @@ cmd.label: sentinel.desc: """Configuration of authenticator using Redis (Sentinel) as authentication data source.""" -standalone.desc: +single.desc: """Configuration of authenticator using Redis (Standalone) as authentication data source.""" } diff --git a/rel/i18n/emqx_authz_schema.hocon b/rel/i18n/emqx_authz_schema.hocon index 9e5339b2c..5318eb769 100644 --- a/rel/i18n/emqx_authz_schema.hocon +++ b/rel/i18n/emqx_authz_schema.hocon @@ -120,11 +120,11 @@ node_error.desc: node_error.label: """Error in Node""" -mnesia.desc: +builtin_db.desc: """Authorization using a built-in database (mnesia).""" -mnesia.label: -"""mnesia""" +builtin_db.label: +"""Builtin Database""" enable.desc: """Set to true or false to disable this ACL provider""" diff --git a/rel/i18n/zh/emqx_authn_jwt.hocon b/rel/i18n/zh/emqx_authn_jwt.hocon index 2aa27c1de..76b999101 100644 --- a/rel/i18n/zh/emqx_authn_jwt.hocon +++ b/rel/i18n/zh/emqx_authn_jwt.hocon @@ -42,10 +42,10 @@ from.desc: from.label: """源字段""" -hmac-based.desc: +jwt_hmac.desc: """用于认证的 JWT 使用 HMAC 算法签发时的配置。""" -jwks.desc: +jwt_jwks.desc: """用于认证的 JWTs 需要从 JWKS 端点获取时的配置。""" keyfile.desc: @@ -54,7 +54,7 @@ keyfile.desc: keyfile.label: """私钥文件""" -public-key.desc: +jwt_public_key.desc: """用于认证的 JWT 使用 RSA 或 ECDSA 算法签发时的配置。""" public_key.desc: diff --git a/rel/i18n/zh/emqx_authn_mnesia.hocon b/rel/i18n/zh/emqx_authn_mnesia.hocon index 1ba394627..78fc96c75 100644 --- a/rel/i18n/zh/emqx_authn_mnesia.hocon +++ b/rel/i18n/zh/emqx_authn_mnesia.hocon @@ -1,6 +1,6 @@ emqx_authn_mnesia { -authentication.desc: +builtin_db.desc: """使用内置数据库作为认证数据源的认证器的配置项。""" user_id_type.desc: diff --git a/rel/i18n/zh/emqx_authn_mongodb.hocon b/rel/i18n/zh/emqx_authn_mongodb.hocon index 01419e2b9..949322a76 100644 --- a/rel/i18n/zh/emqx_authn_mongodb.hocon +++ b/rel/i18n/zh/emqx_authn_mongodb.hocon @@ -39,7 +39,7 @@ salt_field.label: sharded-cluster.desc: """使用 MongoDB (Sharded Cluster) 作为认证数据源的认证器的配置项。""" -standalone.desc: +single.desc: """使用 MongoDB (Standalone) 作为认证数据源的认证器的配置项。""" } diff --git a/rel/i18n/zh/emqx_authn_mysql.hocon b/rel/i18n/zh/emqx_authn_mysql.hocon index e718ad723..c8b72d720 100644 --- a/rel/i18n/zh/emqx_authn_mysql.hocon +++ b/rel/i18n/zh/emqx_authn_mysql.hocon @@ -1,6 +1,6 @@ emqx_authn_mysql { -authentication.desc: +mysql.desc: """使用 MySQL 作为认证数据源的认证器的配置项。""" query.desc: diff --git a/rel/i18n/zh/emqx_authn_pgsql.hocon b/rel/i18n/zh/emqx_authn_pgsql.hocon index 97bf608d2..b9d47828b 100644 --- a/rel/i18n/zh/emqx_authn_pgsql.hocon +++ b/rel/i18n/zh/emqx_authn_pgsql.hocon @@ -1,6 +1,6 @@ emqx_authn_pgsql { -authentication.desc: +postgresql.desc: """使用 PostgreSQL 作为认证数据源的认证器的配置项。""" query.desc: diff --git a/rel/i18n/zh/emqx_authn_redis.hocon b/rel/i18n/zh/emqx_authn_redis.hocon index e3d6b9d96..58137f195 100644 --- a/rel/i18n/zh/emqx_authn_redis.hocon +++ b/rel/i18n/zh/emqx_authn_redis.hocon @@ -12,7 +12,7 @@ cmd.label: sentinel.desc: """使用 Redis (Sentinel) 作为认证数据源的认证器的配置项。""" -standalone.desc: +single.desc: """使用 Redis (Standalone) 作为认证数据源的认证器的配置项。""" } diff --git a/rel/i18n/zh/emqx_authz_schema.hocon b/rel/i18n/zh/emqx_authz_schema.hocon index 3dd6d1c01..f0f973a55 100644 --- a/rel/i18n/zh/emqx_authz_schema.hocon +++ b/rel/i18n/zh/emqx_authz_schema.hocon @@ -120,11 +120,11 @@ node_error.desc: node_error.label: """节点产生的错误""" -mnesia.desc: +builtin_db.desc: """使用内部数据库授权(mnesia)。""" -mnesia.label: -"""mnesia""" +builtin_db.label: +"""Buitin Database""" enable.desc: """设为 truefalse 以启用或禁用此访问控制数据源"""