知识卡片

普通读书笔记卡 · 3512.c

客户端凭证适合服务身份

理解等级:中级

客户端凭证授权用于服务端到服务端调用:客户端向授权服务器证明自己的身份并取得访问令牌,不代表某个终端用户授权。资源服务器应按服务身份和允许范围授权,不能把该令牌当用户身份令牌。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    原书出处

    参考来源

    - 位置:《Microservice APIs》第 11 章《API authorization and authentication》(源文件:_epub-src/OEBPS/Text/11.htm) - 结论依据:原文明确该流程用于服务间通信,凭客户端凭证换取令牌。 - 原始内容:The client credentials flow is aimed for server-to-server communication, and as you can see in figure 11.4, it involves the exchange of a secret to obtain an access token.