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

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.

主站蜘蛛池模板: 石河子市| 常宁市| 台北市| 贵德县| 潼关县| 夹江县| 崇左市| 涟源市| 阆中市| 卢湾区| 永嘉县| 合肥市| 务川| 泸定县| 蕉岭县| 清丰县| 徐汇区| 定兴县| 正定县| 阳泉市| 临澧县| 邯郸市| 和平区| 云霄县| 县级市| 霍林郭勒市| 建湖县| 四平市| 文安县| 夹江县| 安新县| 鄄城县| 镇平县| 星座| 隆尧县| 东山县| 大同县| 大化| 汉中市| 海晏县| 恩施市|