\JFacebookOAuth
Joomla Platform class for generating Facebook API access token.
Synopsis
class JFacebookOAuth
extends JOAuth2Client
{
- // members
- protected JRegistry $options;
- // Inherited members from JOAuth2Client
- protected JRegistry $options;
- protected JHttp $http;
- protected JInput $input;
- protected JApplicationWeb $application;
- // methods
- public void __construct()
- public JFacebookOauth setScope()
- public string getScope()
- // Inherited methods from JOAuth2Client
- public void __construct()
- public string authenticate()
- public boolean isAuthenticated()
- public JHttpResponse createUrl()
- public string query()
- public mixed getOption()
- public JOAuth2Client setOption()
- public array getToken()
- public JOAuth2Client setToken()
- public array refreshToken()
Hierarchy
Extends
Members
protected
- $application — JApplicationWeb
- $http — JHttp
- $input — JInput
- $options — JRegistry
- $options — JRegistry
Methods
public
- __construct() — Constructor.
- getScope() — Method to get the current scope
- setScope() — Method used to set permissions.
Inherited from JOAuth2Client
public
- authenticate() — Get the access token or redict to the authentication URL.
- createUrl() — Create the URL for authentication.
- getOption() — Get an option from the JOAuth2Client instance.
- getToken() — Get the access token from the JOAuth2Client instance.
- isAuthenticated() — Verify if the client has been authenticated
- query() — Send a signed Oauth request.
- refreshToken() — Refresh the access token instance.
- setOption() — Set an option for the JOAuth2Client instance.
- setToken() — Set an option for the JOAuth2Client instance.