JLinkedinOauth
class JLinkedinOauth extends JOAuth1Client
Joomla Platform class for generating Linkedin API access token.
Methods
__construct(
Registry $options = null,
JHttp $client = null,
JInput $input = null)
Constructor.
JHttpResponse
oauthRequest(
string $url,
string $method,
array $parameters,
mixed $data = array(),
array $headers = array())
Method used to make an OAuth request.
from JOAuth1Client
void
validateResponse(
string $url,
JHttpResponse $response)
Method to validate a response.
string
toUrl(
string $url,
array $parameters)
Method to create the URL formed string with the parameters.
from JOAuth1Client
string
safeEncode(
mixed $data)
Encodes the string or array passed in a way compatible with OAuth.
from JOAuth1Client
array
verifyCredentials()
Method to verify if the access token is valid by making a request to an API endpoint.
setOption(
string $key,
mixed $value)
Set an option for the JOauth1aClient instance.
from JOAuth1Client
setScope(
mixed $scope)
Method used to set permissions.
string
getScope()
Method to get the current scope
Details
JHttpResponse
oauthRequest(
string $url,
string $method,
array $parameters,
mixed $data = array(),
array $headers = array())
Method used to make an OAuth request.
string
toUrl(
string $url,
array $parameters)
Method to create the URL formed string with the parameters.
string
safeEncode(
mixed $data)
Encodes the string or array passed in a way compatible with OAuth.
If an array is passed each array value will will be encoded.