nocobase2/packages/plugins/sms-auth
YANG QIA 45bc0b83ba
feat(locale): allows to manage locale resources in core package (#2293)
* feat(locale): add app.locales

* chore: change directory

* chore: change locale directories

* fix: test

* fix: cached resources changed after sync

* chore: change fr-FR locale directory
2023-07-25 17:09:34 +08:00
..
src feat(locale): allows to manage locale resources in core package (#2293) 2023-07-25 17:09:34 +08:00
client.d.ts refactor(client)!: application, router and plugin (#2068) 2023-07-07 14:35:22 +08:00
client.js feat(auth): support custom authentication (#2007) 2023-06-07 23:46:42 +08:00
package.json chore(versions): 😊 publish v0.11.1-alpha.2 2023-07-23 12:44:50 +08:00
README.md feat(auth): support custom authentication (#2007) 2023-06-07 23:46:42 +08:00
server.d.ts refactor(client)!: application, router and plugin (#2068) 2023-07-07 14:35:22 +08:00
server.js feat(auth): support custom authentication (#2007) 2023-06-07 23:46:42 +08:00

SMS Auth

提供短信登录认证功能。

依赖

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

使用方法

新增验证码Provider

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

新增SMS认证器

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

效果如图: