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

GET /internal/applications/{app_id}/check-access

验证用户是否有指定应用的访问权限,供gateway鉴权中间件调用

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

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
app_id path string Yes 应用ID
tenant_id query string Yes 租户ID
user_id query string Yes 用户ID

Responses

StatusDescriptionSchema
200有权限gitee_com_linmes_authms_micro-services_tenant-service_internal_handler_dto.SimpleResponse
400请求参数错误gitee_com_linmes_authms_base_dto.SimpleResponse
404应用未找到gitee_com_linmes_authms_base_dto.SimpleResponse
500服务器内部错误gitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No

gitee_com_linmes_authms_micro-services_tenant-service_internal_handler_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No