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

  • 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.

主站蜘蛛池模板: 凌源市| 光山县| 莱州市| 锡林郭勒盟| 玉龙| 吴忠市| 永修县| 马山县| 焦作市| 荆门市| 舒城县| 南城县| 策勒县| 通道| 定结县| 琼海市| 建德市| 车险| 宣威市| 邓州市| 冀州市| 伽师县| 湖北省| 安平县| 綦江县| 新乡县| 平定县| 呼图壁县| 九寨沟县| 海原县| 肇东市| 黑水县| 桐庐县| 隆德县| 衢州市| 彝良县| 林口县| 德钦县| 达尔| 乌拉特中旗| 荥阳市|