nocobase/packages/plugins/@nocobase/plugin-auth-sms
2024-07-30 01:47:53 +00:00
..
src fix(auth): allows to set the auth type title translation from server end (#4616) 2024-06-11 14:25:07 +08:00
.npmignore chore(versions): 😊 publish v1.0.0-alpha.1 (#4186) 2024-04-29 00:46:21 +08:00
client.d.ts chore(versions): 😊 publish v1.0.0-alpha.1 (#4186) 2024-04-29 00:46:21 +08:00
client.js chore(versions): 😊 publish v1.0.0-alpha.1 (#4186) 2024-04-29 00:46:21 +08:00
LICENSE chore(versions): 😊 publish v1.0.0-alpha.1 (#4186) 2024-04-29 00:46:21 +08:00
package.json chore(versions): 😊 publish v1.2.26-alpha 2024-07-30 01:47:53 +00:00
README.md chore(versions): 😊 publish v1.0.0-alpha.1 (#4186) 2024-04-29 00:46:21 +08:00
server.d.ts chore(versions): 😊 publish v1.0.0-alpha.1 (#4186) 2024-04-29 00:46:21 +08:00
server.js chore(versions): 😊 publish v1.0.0-alpha.1 (#4186) 2024-04-29 00:46:21 +08:00

SMS Auth

提供短信登录认证功能。

依赖

  • @nocobase/auth 认证插件,提供认证相关功能,表、模型、函数复用等。
  • @nocobase/plugin-verification 验证码插件,提供短信发送功能。

使用方法

新增验证码Provider

插件设置 - Verification/验证码
新增一个Provider, 并设置为默认方式。

新增SMS认证器

插件设置 - Authentication/认证
新增选择认证类型为SMS新增一个Authenticator。

效果如图: