← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 2931.e.3.a.1

租户上下文贯穿请求

理解等级:中级

租户上下文打包用户和租户属性,并随请求流向下游组件。JWT是可用承载方式之一,路由、日志、指标和数据访问据此选择正确行为;上下文是跨系统概念,并不等于某种固定令牌格式。设计须兼顾传递完整性与开发复杂度。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Multi-Tenant Architecture Fundamentals · 查看原书依据

      all the moving parts of your multi-tenant architecture. This JWT becomes our passport for sharing tenant information (context) with any service or code that relies on this context. It’s this token that is referred to as your tenant context.

    参考来源

    - 位置:《Building Multi-Tenant SaaS Architectures》第02章《Multi-Tenant Architecture Fundamentals》(来源项目 a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Multi-Tenant SaaS Architectures/_epub-src/OEBPS/ch02.html) - 结论依据:原文具体说明租户上下文打包用户和租户属性,并随请求流向下游组件;本卡据此归纳机制及适用边界。 - 原始内容:all the moving parts of your multi-tenant architecture. This JWT becomes our passport for sharing tenant information (context) with any service or code that relies on this context. It’s this token that is referred to as your tenant context.