OAuth 2.0系列教程(三) 角色

2014-6-17 liyangweb.com 李杨 Web周边

原文地址:http://tutorials.jenkov.com/oauth2/roles.html

OAuth 2.0为用户和应用定义了如下角色:

  • 资源拥有者
  • 资源服务器
  • 客户端应用
  • 授权服务器

这些角色在下图中表示为:

overview-roles.png

OAuth 2.0规范中的角色定义

资源拥有者是指拥有共享数据的人或应用。比如Facebook或者Google的用户就是是资源拥有者,他们拥有的资源就是他们的数据。资源拥有者在上图中被描述为人,这也是最常见的情况。但资源拥有者也可以是一个应用。OAuth 2.0规范中包含这两种可能性。

资源服务器是指托管资源的服务器。比如,Facebook或Google就是资源服务器(或者有一个资源服务器)。

客户端应用是指请求访问存储在资源服务器的资源的应用。资源被资源拥有者所拥有。客户端应用可以是一个请求访问用户Facebook账号的第三方游戏。

授权服务器是指授权客户端应用能够访问资源拥有者所拥有的资源。授权服务器和资源服务器可以是同一个服务器,但不是必须的。如果这两个服务器是分开的,OAuth 2.0没有讨论这个两个服务器应该如何通信。这是由资源服务器和授权服务器开发者自己设计决定的。

标签: OAuth 2.0系列教程

评论:

myenergytruth
2019-02-09 04:48
<a href="http://www.atlantaaiport.com/nike-free-3.0-v4-bleu-or-chaussuresf">nike free 3.0 v4 bleu or</a> <a href="http://www.bdimpact.com/adidas-climacool-ride-iv-gr%C3%B8nn-gul-kurpese">adidas climacool ride iv gr酶nn gul</a> <a href="http://www.dutchpuffers.com/nike-air-max-bw-plata-azul-obuva">nike air max bw plata azul</a> <a href="http://www.klgateslaw.com/ralph-lauren-sort-watch-sort-gr%C3%B8n-polot">ralph lauren sort watch sort gr酶n</a> <a href="http://www.nomorbogor.com/air-jordan-2-infrarojo-cehombrest-for-venta-yakima-schuhed">air jordan 2 infrarojo cehombrest for venta yakima</a> <a href="http://www.projabbag.com/adidas-prougeator-mania-lunar-sg-scarpec">adidas prougeator mania lunar sg</a>
myenergytruth http://www.myenergytruth.com/
weddingstogokeywest
2019-02-02 05:44
<a href="http://www.florianscafe.net/nike-air-yeezy-2-rot-october-product-number-schuhef">nike air yeezy 2 rot october product number</a> <a href="http://www.floridalighthouse.net/nike-mercurial-vapor-racer-rosa-undertone-scarpee">nike mercurial vapor racer rosa undertone</a> <a href="http://www.fortknoxjewelers.net/air-jordan-3-bianca-cemaschiot-2011-kurpesa">air jordan 3 bianca cemaschiot 2011</a> <a href="http://www.freerivalcasinos.net/2015-new-balance-rot-kurpesc">2015 new balance rot</a> <a href="http://www.friendsofugami.net/nike-roshe-run-hyp-gr%C3%B8nn-oransje-obuva">nike roshe run hyp gr酶nn oransje</a> <a href="http://www.fullertonchamber.net/nike-roshe-jordan-3-for-venta-schuhef">nike roshe jordan 3 for venta</a>
weddingstogokeywest http://www.weddingstogokeywest.net/
casbloom
2019-01-22 05:21
<a href="http://www.epackproject.com/adidas-damian-lillard-2-r%C3%B8d-bl%C3%A5-kurpesb">adidas damian lillard 2 r酶d bl氓</a> <a href="http://www.flashuse.com/adidas-forum-mid-marinen-hvit-pants-kurpesa">adidas forum mid marinen hvit pants</a> <a href="http://www.airtestuser.com/nike-free-run-4.0-v3-kaffee-obuvb">nike free run 4.0 v3 kaffee</a> <a href="http://www.bajigour.com/yeezy-boost-350-femminile-rosa-scarpe-kurpesa">yeezy boost 350 femminile rosa scarpe</a> <a href="http://www.calaforracs.com/nike-air-max-87-naranja-oro-butyd">nike air max 87 naranja oro</a> <a href="http://www.clboaiyy.com/nike-lebron-soldier-10-p%C3%BArpura-negro-butye">nike lebron soldier 10 p煤rpura negro</a>
casbloom http://www.casbloom.com/
rapamateur
2019-01-07 00:50
<a href="http://www.omegaspark.com/nike-internationalist-beige-dor%C3%A9-skot">nike internationalist beige dor茅</a> <a href="http://www.bitcashgram.com/all-black-louboutin-sneakers-louboutinr">all black louboutin sneakers</a> <a href="http://www.atemspende.com/a-buon-mercato-nike-dunk-maschio-sneakerb">a buon mercato nike dunk maschio</a> <a href="http://www.yogadesfemmes.com/billig-nike-zoom-clear-out-menns-svart-skoc">billig nike zoom clear out menns svart</a> <a href="http://www.forautoquotes.com/louboutin-shoe-sizing-conversion-price-louboutinc">louboutin shoe sizing conversion price</a> <a href="http://www.realcoolclub.com/rose-gold-my-princess-pandora-ring-pandorar">rose gold my princess pandora ring</a>
rapamateur http://www.rapamateur.com/
pqphql39
2018-12-29 11:56
<a href="http://www.7ku554mk.com/nike-hyperrev-2014-azul-and-amarillo-scarped">nike hyperrev 2014 azul and amarillo</a> <a href="http://www.isdzi5i0.com/nike-air-max-lunar-1-bl%C3%A5-and-hvit-kitchen-schuhea">nike air max lunar 1 bl氓 and hvit kitchen</a> <a href="http://www.s5h5f9lc.com/femminile-asics-gel-quantum-360-rosa-rosso-kurpesb">femminile asics gel quantum 360 rosa rosso</a> <a href="http://www.1flwl448.com/nike-air-max-flyknit-negro-2015-schuhef">nike air max flyknit negro 2015</a> <a href="http://www.olfv4s7l.com/nike-tiempo-legend-elite-sg-hvid-volt-sort-butye">nike tiempo legend elite sg hvid volt sort</a> <a href="http://www.kh746hau.com/hombres-asics-gel-noosa-tri-7-oro-amarillo-obuvd">hombres asics gel noosa tri 7 oro amarillo</a>
[url=http://www.pqphql39.com/]pqphql39[/url]
boosnbrews
2018-12-28 12:18
<a href="http://www.gridironstats.com/hommes-asics-gel-quantum-360-vert-argent-schuheb">hommes asics gel quantum 360 vert argent</a> <a href="http://www.homeystudio.com/nike-free-run-2-ext-svart-rosa-butye">nike free run 2 ext svart rosa</a> <a href="http://www.myrealtoralex.com/adidas-soccers-sko-hvid-gr%C3%A5-butye">adidas soccers sko hvid gr氓</a> <a href="http://www.trademaesters.com/air-jordan-5-retro-blanco-fire-rojo-negro-zombies-obuve">air jordan 5 retro blanco fire rojo negro zombies</a> <a href="http://www.justwhatilove.com/nike-air-force-1-high-top-nero-and-bianca-obuve">nike air force 1 high top nero and bianca</a> <a href="http://www.lcsyzw.com/nike-hypervenomx-finale-phylon-indoor-soccer-zapatos-liquid-oro-negro-kurpesg">nike hypervenomx finale phylon indoor soccer zapatos liquid oro negro</a>
boosnbrews http://www.boosnbrews.com/

发表评论:

Powered by emlog 冀ICP备13011830号-1