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

Introduction

The main purpose of this chapter is to help you integrate with popular web applications and social media, although at the same time allow you to get familiarized with the foundational principles of OAuth 2.0 specification.

Before diving into the recipes for several use cases, let's look at the big picture of the most scenarios which will be covered. This will give you the opportunity to review some important concepts about OAuth 2.0 specification so we can stay on the same page with the terminologies used throughout the book.

The preceding diagram shows the four main components of the OAuth 2.0 specification:

  • Resource Owner
  • Authorization Server
  • Resource Server
  • Client

Just to review the purpose of these components, remember that the Resource Owner is the user which delegates authority for third-party applications to use resources on its behalf. The third-party application mentioned is represented by the client which I depicted as Mobile client and Web Client. The user's resources are usually maintained and protected by the Resource Server which might be implemented together with the Authorization Server as a single component, for example. The composition of the Authorization Server and Resource Server are referred to as the OAuth 2.0 Provider to simplify the terminology given to the application which is protected by OAuth 2.0.

主站蜘蛛池模板: 巴塘县| 枝江市| 明水县| 凤山市| 镇原县| 阜新| 麻江县| 宁武县| 梨树县| 民勤县| 宿迁市| 金沙县| 河津市| 溆浦县| 金塔县| 迁西县| 肥东县| 巫山县| 石首市| 安达市| 瑞昌市| 女性| 留坝县| 六安市| 永宁县| 北安市| 衡山县| 乌鲁木齐县| 紫云| 宝山区| 天等县| 尖扎县| 黄骅市| 平江县| 乐山市| 博乐市| 土默特右旗| 康定县| 新兴县| 松滋市| 五常市|