tachybase_todo/packages/plugins/@nocobase/plugin-sms-auth/README.md
sealday 3e58c54aa8 feat: 仓库二期 (#719)
Co-authored-by: hello@lv <2256334253@qq.com>
Co-authored-by: wjh <wwwjh0710@163.com>
Co-authored-by: sealday <sealday@gmail.com>
Reviewed-on: daoyoucloud/tachybase#719
2024-05-08 16:20:31 +08:00

24 lines
679 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# SMS Auth
提供短信登录认证功能。
## 依赖
- `@tachybase/auth` 认证插件,提供认证相关功能,表、模型、函数复用等。
- `@nocobase/plugin-verification` 验证码插件,提供短信发送功能。
## 使用方法
### 新增验证码Provider
插件设置 - Verification/验证码
新增一个Provider, 并设置为默认方式。
<img src="https://s2.loli.net/2023/05/16/6VKDcqW41F8P9Gu.png" width="800px" />
### 新增SMS认证器
插件设置 - Authentication/认证
新增选择认证类型为SMS新增一个Authenticator。
效果如图:
<img src="https://s2.loli.net/2023/05/16/GVW5mHTvBhn8Zck.png" width="400px" />