← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 3512.f

令牌复用减少重复认证

理解等级:高级

用户向身份提供者证明身份后取得签名令牌,应用验证令牌并据角色等信息实施授权,后续请求可在有效会话中复用令牌。这样减少每次重新验证凭据的远程工作,但令牌认证与资源授权仍是两个责任。这里描述的是书内流程模型,不能把OAuth直接等同于认证协议,也不能据此省略有效期、受众等校验。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 宏观架构中的安全 · 查看原书依据

      With the token-based approach, when clients come to our website or mobile app, we direct them to an IDP. The client sends their credentials to the IDP, which authenticates them. Then they receive a signed token with SAML or OpenIDConnect that describes their roles, and the information comes back to our application. Our system verifies the token and authorizes the calls based on the user roles described in the token.

    参考来源

    - 位置:《Software Architecture and Decision-Making》第08章《宏观架构中的安全》(来源项目:book-sources;源文件:extracted/Software Architecture and Decision-Making Leveraging Leadership, Technology, and Product Management to Build Great Products… (Srinath Perera)/_epub-src/ch08.xhtml) - 结论依据:所引连续原文给出本卡机制或取舍;条件与示例结合本节已读上下文解释。 - 原始内容:With the token-based approach, when clients come to our website or mobile app, we direct them to an IDP. The client sends their credentials to the IDP, which authenticates them. Then they receive a signed token with SAML or OpenIDConnect that describes their roles, and the information comes back to our application. Our system verifies the token and authorizes the calls based on the user roles described in the token.