GET /admin/tenants/{id}/auth-policy
获取指定租户的认证策略配置,包括MFA、会话、OAuth等设置
租户服务 `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
id |
path |
string |
Yes |
|
|
|
租户ID |
Referenced Schemas
dto.AuthPolicyDetailResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.AuthPolicyResponse |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
dto.AuthPolicyResponse
| Field | Type | Required | Example | Constraints | Description |
login_methods |
string |
No |
|
|
|
max_concurrent_sessions |
integer |
No |
|
|
|
mfa_enforce_for_all |
boolean |
No |
|
|
|
mfa_enforce_for_high_risk |
boolean |
No |
|
|
|
mfa_enforce_for_new_device |
boolean |
No |
|
|
|
mfa_preferred_methods |
string |
No |
|
|
|
oauth_providers |
string |
No |
|
|
|
session_bind_to_device |
boolean |
No |
|
|
|
session_idle_timeout |
string |
No |
|
|
|
session_timeout |
string |
No |
|
|
|
tenant_id |
string |
No |
|
|
|
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|