\JOAuth1ClientInspector
Inspector for the JOAuth1Client class.
Synopsis
class JOAuth1ClientInspector
extends JOAuth1Client
{
- // Inherited members from JOAuth1Client
- protected JRegistry $options;
- protected $token;
- protected JHttp $client;
- protected JInput $input;
- protected JApplicationWeb $application;
- protected $version;
- // methods
- public void verifyCredentials()
- public void validateResponse()
- // Inherited methods from JOAuth1Client
- public void __construct()
- public array authenticate()
- public JHttpResponse oauthRequest()
- public abstract void validateResponse()
- public string toUrl()
- public string safeEncode()
- public static string generateNonce()
- public abstract array verifyCredentials()
- public mixed getOption()
- public JOAuth1Client setOption()
- public array getToken()
- public JOAuth1Client setToken()
Hierarchy
Extends
Members
protected
- $application — JApplicationWeb
- $client — JHttp
- $input — JInput
- $options — JRegistry
- $token — array
- $version — string
Methods
public
- validateResponse() — Method to validate a response.
- verifyCredentials() — Mimic verifing credentials.
Inherited from JOAuth1Client
public
- authenticate() — Method to for the oauth flow.
- generateNonce() — Method used to generate the current nonce.
- getOption() — Get an option from the JOauth1aClient instance.
- getToken() — Get the oauth token key or secret.
- oauthRequest() — Method used to make an OAuth request.
- safeEncode() — Encodes the string or array passed in a way compatible with OAuth.
- setOption() — Set an option for the JOauth1aClient instance.
- setToken() — Set the oauth token.
- toUrl() — Method to create the URL formed string with the parameters.
- validateResponse() — Method to validate a response.
- verifyCredentials() — Returns an HTTP 200 OK response code and a representation of the requesting user if authentication was successful; returns a 401 status code and an error message if not.