码迷,mamicode.com
首页 > 其他好文 > 详细

学习 OAuth2.0 笔记( 一 )

时间:2017-07-16 18:25:00      阅读:124      评论:0      收藏:0      [点我收藏+]

标签:data   sam   not   ott   between   UI   利用   多个   org   

1.1. Roles

       角色

   OAuth defines four roles:
   OAuth 设定了四个角色

   resource owner
   资源拥有者
      An entity capable of granting access to a protected resource.
      When the resource owner is a person, it is referred to as an
      end-user.
      资源拥有者指一个能够授权訪问受保护资源的实体.当资源拥有者是人的时候,他被称为终端用户。
   

   resource server
   资源server
      The server hosting the protected resources, capable of accepting
      and responding to protected resource requests using access tokens.
      资源server用来托管受保护的资源。具有接收訪问令牌请求而且响应受保护的资源。

(keyword: access tokens) client

    客户端
An application making protected resource requests on behalf of the resource owner and with its authorization. The term "client" does not imply any particular implementation characteristics (e.g., whether the application executes on a server, a desktop, or other devices).
 
    client是指:一个具备利用资源拥有者的授权信息请求受保护的资源的功能的app。“client”并不代表不论什么特定现实。

(app能够是执行在服务器上的。桌面上的。或者其他设备) authorization server

   授权服务器
The server issuing access tokens to the client after successfully authenticating the resource owner and obtaining authorization.

      授权服务器,验证资源拥有者身份,拥有者进行授权,前两步成功之后,颁发 access,tokens. 
      
   The interaction between the authorization server and resource server
   is beyond the scope of this specification.  The authorization server
   may be the same server as the resource server or a separate entity.
   A single authorization server may issue access tokens accepted by
   multiple resource servers.

   授权server与资源server的交互超出本规范的范围。

   授权server能够与资源server是同一server或者是一个单独的实体。


  一个单一授权server能够为多个资源server提供 颁发 access tokens 服务。

学习 OAuth2.0 笔记( 一 )

标签:data   sam   not   ott   between   UI   利用   多个   org   

原文地址:http://www.cnblogs.com/jzdwajue/p/7191006.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!