GET /internal/tenants/{id}/auth-policy
供其他服务内部调用,获取租户的认证策略配置
租户服务 - 内部接口 None application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
tenantId |
query |
string |
Yes |
|
|
|
租户ID |
Referenced Schemas
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 |
|
|
|
dto.DataResponse-dto_AuthPolicyResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.AuthPolicyResponse |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|