Skip to content

Commit 9637674

Browse files
committed
调试自适应和持续自适应 mfa
1 parent 94cbe16 commit 9637674

33 files changed

Lines changed: 29422 additions & 971 deletions

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
**/config.json
22
**/node_modules/**
3-
**/dist/**
3+
**/dist/**
4+
.idea

README.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,34 @@ cd basic-mfa-demo/client
3030
npm i
3131
npm run watch
3232
```
33+
34+
# 启动前修改参数
35+
36+
## server 端
37+
38+
1. 将 config.json.example 重命名成 config.json 。
39+
2. 参照官方文档获取相应的配置信息。其中 `host``modelId` 不用修改。
40+
```json
41+
{
42+
"token": "管理员token",
43+
"appId": "你的 appId",
44+
"host": "https://console.authing.cn",
45+
"userPoolId": "你的 userpoolId",
46+
"accessKeyId": "你的 userpoolId",
47+
"accessKeySecret": "你的密钥",
48+
"modelId": "ueba"
49+
}
50+
```
51+
## client 端
52+
53+
1. 将 config.json.example 重命名成 config.json 。
54+
2. 参照官方文档获取相应的配置信息。其中 `host` 不用修改。
55+
```json
56+
{
57+
"appId": "",
58+
"host": "https://console.authing.cn",
59+
"userPoolId": "",
60+
"accessKeySecret": ""
61+
}
62+
```
63+
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"token": "",
3+
"appId": "",
4+
"host": "",
5+
"userPoolId": "",
6+
"accessKeySecret": ""
7+
}

0 commit comments

Comments
 (0)