JTwitterOAuth
class JTwitterOAuth extends JOAuth1Client
Joomla Platform class for generating Twitter API access token.
Methods
__construct(
Registry $options = null,
JHttp $client = null,
JInput $input = null,
JApplicationWeb $application = 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.
setOption(
string $key,
mixed $value)
Set an option for the JOauth1aClient instance.
from JOAuth1Client
array
endSession()
Ends the session of the authenticating user, returning a null cookie.
Details
__construct(
Registry $options = null,
JHttp $client = null,
JInput $input = null,
JApplicationWeb $application = null)
Constructor.
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.