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

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

主站蜘蛛池模板: 年辖:市辖区| 澄城县| 溧水县| 普兰店市| 澄江县| 高要市| 波密县| 施秉县| 噶尔县| 凤山县| 郑州市| 汤原县| 深州市| 特克斯县| 剑河县| 永泰县| 白水县| 大洼县| 昂仁县| 洮南市| 玉林市| 安新县| 中山市| 保德县| 长葛市| 依安县| 武鸣县| 曲阳县| 湖州市| 庆阳市| 新安县| 合水县| 阿克陶县| 江西省| 芷江| 调兵山市| 肃北| 锡林郭勒盟| 永胜县| 太保市| 成安县|