GET /admin/mfa/risk-policy
查询基于风险评分的自适应MFA策略配置,从数据库读取租户配置的策略。参考:NIST SP 800-63B §5.2 (Risk-based Authentication)。需要管理员权限。
MFA `bearerAuth` application/json
Referenced Schemas
dto.RiskPolicyDetailResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.RiskPolicyResponse |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
dto.RiskPolicyLevel
| Field | Type | Required | Example | Constraints | Description |
required_methods |
array of
string |
No |
['["totp"', '"sms"]'] |
|
|
dto.RiskPolicyResponse
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|