mirror of
https://github.com/macintoshplus/doc-fr.git
synced 2026-03-25 17:32:07 +01:00
358 lines
10 KiB
XML
358 lines
10 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: 86e6094e86b84a51d00ab217ac50ce8dde33d82a Maintainer: yannick Status: ready -->
|
|
<!-- Reviewed: yes -->
|
|
|
|
<appendix xml:id="oauth.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
&reftitle.constants;
|
|
&extension.constants;
|
|
<para>
|
|
La plupart de ces constantes impliquent des problèmes décrits dans la documentation
|
|
officiels de <link xlink:href="&url.oauth.problemreporting;">rapport de problèmes</link>
|
|
d'OAuth. Notez cependant que les noms des constantes sont spécifiques à PHP, malgré
|
|
le fait que le schéma de nommage est similaire.
|
|
</para>
|
|
<para>
|
|
<variablelist>
|
|
<varlistentry xml:id="constant.oauth-sig-method-rsasha1">
|
|
<term>
|
|
<constant>OAUTH_SIG_METHOD_RSASHA1</constant>
|
|
(<type>string</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Méthode de signature OAuth <emphasis>RSA-SHA1</emphasis>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.oauth-sig-method-hmacsha1">
|
|
<term>
|
|
<constant>OAUTH_SIG_METHOD_HMACSHA1</constant>
|
|
(<type>string</type>)
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Méthode de signature OAuth <emphasis>HMAC-SHA1</emphasis>.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.oauth-sig-method-hmacsha256">
|
|
<term>
|
|
<constant>OAUTH_SIG_METHOD_HMACSHA256</constant>
|
|
(<type>string</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Méthode de signature OAuth <emphasis>HMAC-SHA256</emphasis>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.oauth-auth-type-authorization">
|
|
<term>
|
|
<constant>OAUTH_AUTH_TYPE_AUTHORIZATION</constant>
|
|
(<type>string</type>)
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Cette constante représente l'entête <literal>Authorization</literal>.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.oauth-auth-type-none">
|
|
<term>
|
|
<constant>OAUTH_AUTH_TYPE_NONE</constant>
|
|
(<type>string</type>)
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Cette constante indique une requête <literal>NoAuth OAuth</literal>.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.oauth-auth-type-uri">
|
|
<term>
|
|
<constant>OAUTH_AUTH_TYPE_URI</constant>
|
|
(<type>string</type>)
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Cette constante représente les paramètres OAuth dans l'<acronym>URI</acronym> de requête.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.oauth-auth-type-form">
|
|
<term>
|
|
<constant>OAUTH_AUTH_TYPE_FORM</constant>
|
|
(<type>string</type>)
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Cette constante représente les paramètres OAuth comme une partie
|
|
du corps HTTP POST.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.oauth-http-method-get">
|
|
<term>
|
|
<constant>OAUTH_HTTP_METHOD_GET</constant>
|
|
(<type>string</type>)
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Utilise la méthode <emphasis>GET</emphasis> pour la requête OAuth.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.oauth-http-method-post">
|
|
<term>
|
|
<constant>OAUTH_HTTP_METHOD_POST</constant>
|
|
(<type>string</type>)
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Utilise la méthode <emphasis>POST</emphasis> pour la requête OAuth.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.oauth-http-method-put">
|
|
<term>
|
|
<constant>OAUTH_HTTP_METHOD_PUT</constant>
|
|
(<type>string</type>)
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Utilise la méthode <emphasis>PUT</emphasis> pour la requête OAuth.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.oauth-http-method-head">
|
|
<term>
|
|
<constant>OAUTH_HTTP_METHOD_HEAD</constant>
|
|
(<type>string</type>)
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Utilise la méthode <emphasis>HEAD</emphasis> pour la requête OAuth.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.oauth-http-method-delete">
|
|
<term>
|
|
<constant>OAUTH_HTTP_METHOD_DELETE</constant>
|
|
(<type>string</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Utilise la méthode <emphasis>DELETE</emphasis> pour la requête OAuth.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.oauth-reqengine-streams">
|
|
<term>
|
|
<constant>OAUTH_REQENGINE_STREAMS</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Utilisé par la méthode <methodname>Oauth::setRequestEngine</methodname>
|
|
pour définir le moteur de <link linkend="book.stream">flux PHP</link>,
|
|
à l'opposé de <constant>OAUTH_REQENGINE_CURL</constant> pour
|
|
<link linkend="book.curl">Curl</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.oauth-reqengine-curl">
|
|
<term>
|
|
<constant>OAUTH_REQENGINE_CURL</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Utilisé par la méthode <methodname>Oauth::setReqeustEngine</methodname>
|
|
pour définir le moteur de <link linkend="book.curl">Curl</link>,
|
|
à l'opposé de <constant>OAUTH_REQENGINE_STREAMS</constant> pour
|
|
les <link linkend="book.stream">flux PHP</link>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.oauth-ok">
|
|
<term>
|
|
<constant>OAUTH_OK</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
La vie est belle.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.oauth-bad-nonce">
|
|
<term>
|
|
<constant>OAUTH_BAD_NONCE</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
La valeur <emphasis>oauth_nonce</emphasis> a été utilisée pour une
|
|
précédente requête, et ne peut être utilisée maintenant.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.oauth-bad-timestamp">
|
|
<term>
|
|
<constant>OAUTH_BAD_TIMESTAMP</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
La valeur <emphasis>oauth_timestamp</emphasis> n'est pas acceptée
|
|
par le prestataire de service. Dans ce cas, la réponse devra aussi contenir
|
|
le paramètre <emphasis>oauth_acceptable_timestamps</emphasis>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.oauth-consumer-key-unknown">
|
|
<term>
|
|
<constant>OAUTH_CONSUMER_KEY_UNKNOWN</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<emphasis>oauth_consumer_key</emphasis> est temporairement innaceptable
|
|
par le prestataire de service. Par exemple, le prestataire de service
|
|
surcharge le consommateur.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.oauth-consumer-key-refused">
|
|
<term>
|
|
<constant>OAUTH_CONSUMER_KEY_REFUSED</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
La clé du consommateur a été refusée.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.oauth-invalid-signature">
|
|
<term>
|
|
<constant>OAUTH_INVALID_SIGNATURE</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<emphasis>oauth_signature</emphasis> est invalide car elle ne correspond
|
|
pas à la signature calculée par le prestataire de service.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.oauth-token-used">
|
|
<term>
|
|
<constant>OAUTH_TOKEN_USED</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<emphasis>oauth_token</emphasis> a été consommé. Elle ne peut plus être utilisée
|
|
car elle a déjà été utilisée dans une ou plusieurs précédentes requêtes.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.oauth-token-expired">
|
|
<term>
|
|
<constant>OAUTH_TOKEN_EXPIRED</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<emphasis>oauth_token</emphasis> a expiré.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.oauth-token-revoked">
|
|
<term>
|
|
<constant>OAUTH_TOKEN_REVOKED</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<emphasis>oauth_token</emphasis> a été révoquée et ne pourra plus être acceptée.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.oauth-token-rejected">
|
|
<term>
|
|
<constant>OAUTH_TOKEN_REJECTED</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<emphasis>oauth_token</emphasis> n'a pas été acceptée par le prestataire de
|
|
service. La raison est inconnue, mais il se peut que le jeton n'a jamais
|
|
été utilisé, a déjà été consommé, a expiré et/ou a été oublié par le
|
|
prestataire de service.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.oauth-verifier-invalid">
|
|
<term>
|
|
<constant>OAUTH_VERIFIER_INVALID</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<emphasis>oauth_verifier</emphasis> est incorrect.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.oauth-parameter-absent">
|
|
<term>
|
|
<constant>OAUTH_PARAMETER_ABSENT</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Un paramètre requis n'a pas été reçu. Dans ce cas, la réponse devra également
|
|
contenir le paramètre <emphasis>oauth_parameters_absent</emphasis>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.oauth-signature-method-rejected">
|
|
<term>
|
|
<constant>OAUTH_SIGNATURE_METHOD_REJECTED</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<emphasis>oauth_signature_method</emphasis> n'a pas été accepté par le prestataire
|
|
de service.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</para>
|
|
</appendix>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|
|
|