← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 3512.i

身份令牌连接认证与授权

理解等级:中级

令牌方案把登录交给身份提供者IDP:客户端完成认证后获得签名令牌,应用据其中身份与角色进行认证和授权。这样服务不必分别维护一套用户登录。签名和角色表示仍需要服务端验证与权限判定,令牌存在不等于请求天然获权;书中以SAML/OpenID Connect描述身份信息,以OAuth提及整体令牌访问方案,具体协议实施需另行确认。这里说明登录和信任边界,不把身份令牌当作任意API的访问凭据。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 宏观架构中的微服务决策 · 查看原书依据

      With the token-based approach, when clients come to our website or mobile app, we direct them to an IDP. The clients log in via IDP and receive a signed token with SAML or OpenIDConnect that describes their roles, and the application uses those tokens to authenticate and authorize the users.

    参考来源

    - 位置:《Software Architecture and Decision-Making》第10章《Macro Architecture: Microservices Considerations》(来源项目:book-sources;源文件:extracted/Software Architecture and Decision-Making Leveraging Leadership, Technology, and Product Management to Build Great Products… (Srinath Perera)/_epub-src/ch10.xhtml) - 结论依据:摘录说明令牌方案把登录交给身份提供者IDP:客户端完成认证后获得签名令牌,应用据其中身份与角色进行认证和授权。其余条件结合本章相邻例子与取舍说明,数字示例不作当前性能承诺。 - 原始内容:With the token-based approach, when clients come to our website or mobile app, we direct them to an IDP. The clients log in via IDP and receive a signed token with SAML or OpenIDConnect that describes their roles, and the application uses those tokens to authenticate and authorize the users.