Joomla CMS  3.9.25 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.9.25 et du framework Joomla Platform intégré
Référence de la classe JGoogleAuthOauth2
+ Graphe d'héritage de JGoogleAuthOauth2:

Fonctions membres publiques

 __construct (Registry $options=null, JOAuth2Client $client=null)
 
 authenticate ()
 
 isAuthenticated ()
 
 query ($url, $data=null, $headers=null, $method='get')
 
- Fonctions membres publiques hérités de JGoogleAuth
 authenticate ()
 
 isAuthenticated ()
 
 query ($url, $data=null, $headers=null, $method='get')
 
 getOption ($key)
 
 setOption ($key, $value)
 

Fonctions membres protégées

 googlize ()
 

Attributs protégés

 $client
 
- Attributs protégés hérités de JGoogleAuth
 $options
 

Description détaillée

Google OAuth authentication class

Depuis
3.1.4
Obsolète:
4.0 Use the joomla/google package via Composer instead

Documentation des constructeurs et destructeur

◆ __construct()

__construct ( Registry  $options = null,
JOAuth2Client  $client = null 
)

Constructor.

Paramètres
Registry$optionsJGoogleAuth options object.
JOAuth2Client$clientOAuth client for Google authentication.
Depuis
3.1.4

Références $client, et $options.

Documentation des fonctions membres

◆ authenticate()

authenticate ( )

Method to authenticate to Google

Renvoie
boolean True on success.
Depuis
3.1.4

◆ googlize()

googlize ( )
protected

Method to fill in Google-specific OAuth settings

Renvoie
JOAuth2Client Google-configured Oauth2 client.
Depuis
3.1.4

Références $client, $params, et null.

◆ isAuthenticated()

isAuthenticated ( )

Verify if the client has been authenticated

Renvoie
boolean Is authenticated
Depuis
3.1.4

◆ query()

query (   $url,
  $data = null,
  $headers = null,
  $method = 'get' 
)

Method to retrieve data from Google

Paramètres
string$urlThe URL for the request.
mixed$dataThe data to include in the request.
array$headersThe headers to send with the request.
string$methodThe type of http request to send.
Renvoie
mixed Data from Google.
Depuis
3.1.4

Références $data, et $url.

Documentation des champs

◆ $client

$client
protected

La documentation de cette classe a été générée à partir du fichier suivant :