A AuthMS API Wiki API Reference iam.tianv.com →

GET /internal/tenants/{id}/auth-policy

供其他服务内部调用,获取租户的认证策略配置

租户服务 - 内部接口 None application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
tenantId query string Yes 租户ID

Responses

StatusDescriptionSchema
200认证策略dto.DataResponse-dto_AuthPolicyResponse
400请求参数错误gitee_com_linmes_authms_base_dto.SimpleResponse
401未认证gitee_com_linmes_authms_base_dto.SimpleResponse
500服务器内部错误gitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

dto.AuthPolicyResponse

FieldTypeRequiredExampleConstraintsDescription
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

FieldTypeRequiredExampleConstraintsDescription
code integer No
data dto.AuthPolicyResponse No
message string No
timestamp string No

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No