![]() |
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é
|
Graphe d'héritage de JOpenstreetmapOauth:Fonctions membres publiques | |
| __construct (Registry $options=null, JHttp $client=null, JInput $input=null) | |
| verifyCredentials () | |
| validateResponse ($url, $response) | |
Fonctions membres publiques hérités de JOAuth1Client | |
| __construct (Registry $options=null, JHttp $client=null, JInput $input=null, JApplicationWeb $application=null, $version=null) | |
| authenticate () | |
| oauthRequest ($url, $method, $parameters, $data=array(), $headers=array()) | |
| validateResponse ($url, $response) | |
| toUrl ($url, $parameters) | |
| safeEncode ($data) | |
| verifyCredentials () | |
| getOption ($key) | |
| setOption ($key, $value) | |
| getToken () | |
| setToken ($token) | |
Attributs protégés | |
| $options | |
Attributs protégés hérités de JOAuth1Client | |
| $options | |
| $token = array() | |
| $client | |
| $input | |
| $application | |
| $version | |
Membres hérités additionnels | |
Fonctions membres publiques statiques hérités de JOAuth1Client | |
| static | generateNonce () |
Joomla Platform class for generating Openstreetmap API access token.
Constructor.
| Registry | $options | JOpenstreetmapOauth options object. |
| JHttp | $client | The HTTP client object. |
| JInput | $input | The input object |
Références $client, $input, $options, Registry\def(), et null.
| validateResponse | ( | $url, | |
| $response | |||
| ) |
Method to validate a response.
| string | $url | The request URL. |
| JHttpResponse | $response | The response to validate. |
| DomainException |
Références ENT_COMPAT, et htmlspecialchars.
| verifyCredentials | ( | ) |
Method to verify if the access token is valid by making a request to an API endpoint.
|
protected |