官术网_书友最值得收藏!

  • OAuth 2.0 Cookbook
  • Adolfo Eloy Nascimento
  • 214字
  • 2021-07-08 09:35:10

There's more...

This grant type is supposed to be used by applications that do not access resources on behalf of any Resource Owner, but for their own purposes. It has been adopted for the current ecosystem of microservices, because it's easy to rotate access tokens by using refresh tokens and it's also easy to use the dynamic registration process, automating all the process when integrating services. It does not need to be only interactions between microservices, but also include with third-party applications despite the fact of issuing an access token manually for any given client (it depends on the scenario of course, because if you have too much clients it would be impossible to manage client registration manually).

Shortly the word microservices, according to Sam Newman, in the book Building Microservices, it means small autonomous services that work together with well-defined responsibilities.

Regarding the fact of many small services talking to each other in such a way that we have many access token validations, it's important to consider the strategy used for token validation because such an approach might be faced by performance issues. Take a look at the final recipe in this chapter to learn how to create a load testing application, using Gatling to measure the response times when validating access tokens.

主站蜘蛛池模板: 上犹县| 泰和县| 子长县| 永登县| 营口市| 临城县| 柳林县| 盱眙县| 巫山县| 孟村| 望奎县| 罗源县| 苍南县| 平果县| 吴桥县| 常宁市| 都江堰市| 芮城县| 大名县| 辽源市| 永清县| 离岛区| 塘沽区| 外汇| 且末县| 托克托县| 兖州市| 深水埗区| 垦利县| 拉孜县| 古田县| 惠东县| 平昌县| 宁夏| 海丰县| 龙门县| 天峻县| 尉犁县| 景洪市| 汉阴县| 亚东县|