Packagenet.oauth
Interfacepublic interface IEndPoint

The Consumer obtains an unauthorized Request Token by asking the Service Provider to issue a Token. The Request Token’s sole purpose is to receive User approval and can only be used to obtain an Access Token.
The Service Provider documentation explains how to register for a Consumer Key and Consumer Secret, and declares the following URLs.

IEndPoint提供了数据接口的方法



Public Properties
 PropertyDefined by
  access_token_URL : String
[read-only] Access Token URL:
https://photos.example.net/access_token, using HTTP POST
IEndPoint
  authorize_URL : String
[read-only] User Authorization URL:
http://photos.example.net/authorize, using HTTP GET
IEndPoint
  request_token_URL : String
[read-only] Request Token URL:
https://photos.example.net/request_token, using HTTP POST
IEndPoint
  resource_URL : String
[read-only] Protected Resource URL:
http://photos.example.net/resource with required parameter file and optional parameter size
IEndPoint
Property detail
access_token_URLproperty
access_token_URL:String  [read-only]

Access Token URL:
https://photos.example.net/access_token, using HTTP POST

Implementation
    public function get access_token_URL():String
authorize_URLproperty 
authorize_URL:String  [read-only]

User Authorization URL:
http://photos.example.net/authorize, using HTTP GET

Implementation
    public function get authorize_URL():String
request_token_URLproperty 
request_token_URL:String  [read-only]

Request Token URL:
https://photos.example.net/request_token, using HTTP POST

Implementation
    public function get request_token_URL():String
resource_URLproperty 
resource_URL:String  [read-only]

Protected Resource URL:
http://photos.example.net/resource with required parameter file and optional parameter size

Implementation
    public function get resource_URL():String