GET /internal/identity/session-policy/{tenant_id}

内部API:获取指定租户的会话策略(TTL/并发限制/刷新令牌轮换等),未配置时返回默认策略。需InternalAPIKeyAuth认证。

会话管理 None application/json

请求参数

名称位置类型必填默认值示例约束描述
tenant_id path string 是 租户ID

响应

引用的 Schema

service-core/base/dto.DataResponse-service-identity/internal/handler/dto/SessionPolicyResponse

字段类型必填示例约束描述
code integer 否
data service-identity/internal/handler/dto.SessionPolicyResponse 否
message string 否
timestamp string 否

service-identity/internal/handler/dto.SessionPolicyResponse

字段类型必填示例约束描述
refresh_token_rotation boolean 否
session_bind_to_device boolean 否
session_concurrent_limit integer 否
session_idle_ttl_minutes integer 否
session_ttl_minutes integer 否