Learning oauth2.0 notes (1)

Source: Internet
Author: User
1.1.  Roles
       RoleOauth defines four roles: oauth sets four roles
 
   resource owner
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.
A resource owner is an entity that allows authorized access to protected resources. When the resource owner is a person, it is called an end user.
      resource server
Resource Server
      The server hosting the protected resources, capable of accepting      and responding to protected resource requests using access tokens.
The resource server is used to host protected resources and has the ability to receive access token requests and respond to protected resources. (Keyword: access tokens) Client
Client
An application making protected resource requests on behalf of the resource owner and with its authorization. the term "client" does not imply any particle implementation characteristics (e.g ., whether the application executes on a server, a desktop, or other devices ).
 
A client is an app that can use the authorization information of the resource owner to request protected resources. "Client" does not represent any specific reality. (The app can be running on the server, desktop, or other devices) Authorization Server
Authorization Server
The server issuing access tokens to the client after successfully authenticating the resource owner and obtaining authorization.
 
Authorize the server to verify the identity of the resource owner. After the previous two steps are successful, access and tokens are issued. 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.
 
The interaction between the authorized server and the resource server exceeds the scope of this provision.
The authorization server and the resource server can be the same server or a separate entity.
 
A single authorized server can issue access tokens services to multiple resource servers.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.