Client
Create a new Client
Parameters
$config
Config object
Initialize OAuth client
GET request to protected resource
Parameters
$uri
Resource URL
$params
Hash of parameters
Return value
String
POST request to protected resource
Parameters
$uri
Resource URL
$params
Hash of parameters
Return value
String
PUT request to protected resource
Parameters
$uri
Resource URL
$params
Hash of parameters
Return value
String
DELETE request to protected resource
Parameters
$uri
Resource URL
$params
Hash of parameters
Return value
String
Send a signed OAuth request to a specific protected resource
Parameters
$uri
Resource URI
$method
Request method
$params
API parameters
Return value
String, a response content
Create a path to a specific resource
Parameters
$uri
URI to the protected resource
$epoint
Specific epoint
Return value
String
Get version of native OAuth client
Maksym Novozhylov <mnovozhilov@upwork.com>
Copyright © Upwork Global Corp., 2015