cvs: phpdoc /en/reference/oauth oauthexception.xml versions.xml /en/reference/oauth/functions oauth-get-sbs.xml /en/reference/oauth/oauth
disabledebug.xml disablesslchecks.xml enabledebug.xml enablesslchecks.xml fetch.xml getaccesstoken.xml getrequesttoken.xml

From: Date: Wed, 20 May 2009 14:50:33 +0000
Subject: cvs: phpdoc /en/reference/oauth oauthexception.xml versions.xml /en/reference/oauth/functions oauth-get-sbs.xml /en/reference/oauth/oauth
disabledebug.xml disablesslchecks.xml enabledebug.xml enablesslchecks.xml fetch.xml getaccesstoken.xml getrequesttoken.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-4037@lists.php.net to get a copy of this message
jawed Wed May 20 14:50:33 2009 UTC Added files: /phpdoc/en/reference/oauth/functions oauth-get-sbs.xml Modified files: /phpdoc/en/reference/oauth oauthexception.xml versions.xml /phpdoc/en/reference/oauth/oauth disabledebug.xml disablesslchecks.xml enabledebug.xml enablesslchecks.xml fetch.xml getaccesstoken.xml getrequesttoken.xml Log: Updated docs for OAuth

http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/oauth/oauthexception.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/oauth/oauthexception.xml diff -u phpdoc/en/reference/oauth/oauthexception.xml:1.2 phpdoc/en/reference/oauth/oauthexception.xml:1.3 --- phpdoc/en/reference/oauth/oauthexception.xml:1.2 Wed Apr 1 07:39:55 2009 +++ phpdoc/en/reference/oauth/oauthexception.xml Wed May 20 14:50:32 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <phpdoc:classref xml:id="class.oauthexception" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> @@ -12,7 +12,7 @@ <section xml:id="oauthexception.intro"> &reftitle.intro; <para> - This exception is thrown when exceptional errors when using the OAuth extension and contains useful debugging information. + This exception is thrown when exceptional errors occur while using the OAuth extension and contains useful debugging information. </para> </section> <!-- }}} --> @@ -89,7 +89,6 @@ </section> <!-- }}} --> - </partintro> </phpdoc:classref> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/oauth/versions.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/oauth/versions.xml diff -u phpdoc/en/reference/oauth/versions.xml:1.2 phpdoc/en/reference/oauth/versions.xml:1.3 --- phpdoc/en/reference/oauth/versions.xml:1.2 Mon Apr 27 08:15:34 2009 +++ phpdoc/en/reference/oauth/versions.xml Wed May 20 14:50:32 2009 @@ -1,11 +1,12 @@ <?xml version='1.0' encoding='utf-8'?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- Do NOT translate this file --> <versions> <!-- Functions --> <function name='oauth_urlencode' from='PECL OAuth &gt;=0.99.2'/> + <function name='oauth_get_sbs' from='PECL OAuth &gt;=0.99.7'/> <!-- Methods --> <function name='oauth::__construct' from='PECL OAuth &gt;= 0.99.1'/> <function name='oauth::getrequesttoken' from='PECL OAuth &gt;= 0.99.1'/> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/oauth/oauth/disabledebug.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/oauth/oauth/disabledebug.xml diff -u phpdoc/en/reference/oauth/oauth/disabledebug.xml:1.1 phpdoc/en/reference/oauth/oauth/disabledebug.xml:1.2 --- phpdoc/en/reference/oauth/oauth/disabledebug.xml:1.1 Mon Apr 6 18:25:57 2009 +++ phpdoc/en/reference/oauth/oauth/disabledebug.xml Wed May 20 14:50:32 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry xml:id="oauth.disabledebug" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> @@ -15,6 +15,8 @@ </methodsynopsis> <para> Turns off verbose request information (off by default). + Alternatively, the <parameter>debug</parameter> member can be set + to a &false; value to turn debug off. </para> </refsect1> @@ -30,6 +32,30 @@ </para> </refsect1> + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>0.99.8</entry> + <entry> + The <parameter>debug</parameter> member was added + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + <refsect1 role="seealso"> &reftitle.seealso; <para> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/oauth/oauth/disablesslchecks.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/oauth/oauth/disablesslchecks.xml diff -u phpdoc/en/reference/oauth/oauth/disablesslchecks.xml:1.1 phpdoc/en/reference/oauth/oauth/disablesslchecks.xml:1.2 --- phpdoc/en/reference/oauth/oauth/disablesslchecks.xml:1.1 Mon Apr 27 08:15:34 2009 +++ phpdoc/en/reference/oauth/oauth/disablesslchecks.xml Wed May 20 14:50:32 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry xml:id="oauth.disablesslchecks" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> @@ -14,7 +14,10 @@ <void /> </methodsynopsis> <para> - Turns off the usual SSL peer certificate and host checks, this is not for production environments. + Turns off the usual SSL peer certificate and host checks, + this is not for production environments. Alternatively, the + <parameter>sslChecks</parameter> member can be set to &false; + to turn SSL checks off. </para> </refsect1> @@ -30,6 +33,30 @@ </para> </refsect1> + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>0.99.8</entry> + <entry> + The <parameter>sslChecks</parameter> member was added + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + <refsect1 role="seealso"> &reftitle.seealso; <para> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/oauth/oauth/enabledebug.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/oauth/oauth/enabledebug.xml diff -u phpdoc/en/reference/oauth/oauth/enabledebug.xml:1.1 phpdoc/en/reference/oauth/oauth/enabledebug.xml:1.2 --- phpdoc/en/reference/oauth/oauth/enabledebug.xml:1.1 Mon Apr 6 18:25:57 2009 +++ phpdoc/en/reference/oauth/oauth/enabledebug.xml Wed May 20 14:50:32 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry xml:id="oauth.enabledebug" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> @@ -14,7 +14,10 @@ <void /> </methodsynopsis> <para> - Turns on verbose request information useful for debugging, this is not for production use. + Turns on verbose request information useful for debugging, + the debug information is stored in the <parameter>debugInfo</parameter> + member. Alternatively, the <parameter>debug</parameter> member can + be set to a non-&false; value to turn debug on. </para> </refsect1> @@ -30,6 +33,30 @@ </para> </refsect1> + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>0.99.8</entry> + <entry> + The <parameter>debug</parameter> and <parameter>debugInfo</parameter> members were added + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + <refsect1 role="seealso"> &reftitle.seealso; <para> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/oauth/oauth/enablesslchecks.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/oauth/oauth/enablesslchecks.xml diff -u phpdoc/en/reference/oauth/oauth/enablesslchecks.xml:1.1 phpdoc/en/reference/oauth/oauth/enablesslchecks.xml:1.2 --- phpdoc/en/reference/oauth/oauth/enablesslchecks.xml:1.1 Mon Apr 27 08:15:34 2009 +++ phpdoc/en/reference/oauth/oauth/enablesslchecks.xml Wed May 20 14:50:32 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry xml:id="oauth.enablesslchecks" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> @@ -14,7 +14,7 @@ <void /> </methodsynopsis> <para> - Turns on the usual SSL peer certificate and host checks (enabled by default). + Turns on the usual SSL peer certificate and host checks (enabled by default). Alternatively, the <parameter>sslChecks</parameter> member can be set to a non-&false; value to turn SSL checks off. </para> </refsect1> @@ -30,6 +30,30 @@ </para> </refsect1> + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>0.99.8</entry> + <entry> + The <parameter>sslChecks</parameter> member was added + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + <refsect1 role="seealso"> &reftitle.seealso; <para> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/oauth/oauth/fetch.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/reference/oauth/oauth/fetch.xml diff -u phpdoc/en/reference/oauth/oauth/fetch.xml:1.6 phpdoc/en/reference/oauth/oauth/fetch.xml:1.7 --- phpdoc/en/reference/oauth/oauth/fetch.xml:1.6 Sun May 3 22:22:31 2009 +++ phpdoc/en/reference/oauth/oauth/fetch.xml Wed May 20 14:50:32 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <refentry xml:id="oauth.fetch" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> @@ -12,8 +12,9 @@ <methodsynopsis> <modifier>public</modifier> <type>bool</type><methodname>OAuth::fetch</methodname> <methodparam><type>string</type><parameter>protected_resource_url</parameter></methodparam> - <methodparam choice="opt"><type>array</type><parameter role="reference">extra_parameters</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter role="reference">http_method</parameter></methodparam> + <methodparam choice="opt"><type>array</type><parameter>extra_parameters</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>http_method</parameter></methodparam> + <methodparam choice="opt"><type>array</type><parameter>http_headers</parameter></methodparam> </methodsynopsis> <para> Fetch a resource. @@ -84,6 +85,14 @@ </para> </listitem> </varlistentry> + <varlistentry> + <term><parameter>http_headers</parameter></term> + <listitem> + <para> + HTTP client headers (such as User-Agent, Accept, etc.) + </para> + </listitem> + </varlistentry> </variablelist> </para> </refsect1> @@ -108,9 +117,15 @@ </thead> <tbody> <row> - <entry>CVS / 0.99.5</entry> + <entry>0.99.5</entry> + <entry> + The <parameter>http_method</parameter> parameter was added + </entry> + </row> + <row> + <entry>0.99.8</entry> <entry> - Added an additional parameter to set the HTTP method for the request. + The <parameter>http_headers</parameter> parameter was added </entry> </row> </tbody> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/oauth/oauth/getaccesstoken.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/oauth/oauth/getaccesstoken.xml diff -u phpdoc/en/reference/oauth/oauth/getaccesstoken.xml:1.1 phpdoc/en/reference/oauth/oauth/getaccesstoken.xml:1.2 --- phpdoc/en/reference/oauth/oauth/getaccesstoken.xml:1.1 Wed Dec 31 00:38:41 2008 +++ phpdoc/en/reference/oauth/oauth/getaccesstoken.xml Wed May 20 14:50:32 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry xml:id="oauth.getaccesstoken" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> @@ -43,6 +43,21 @@ </para> </listitem> </varlistentry> + <varlistentry> + <term><parameter>verifier_token</parameter></term> + <listitem> + <para> + For service providers which support 1.0a, a <parameter>verifier_token</parameter> + must be passed while exchanging the request token for the access + token. If the <parameter>verifier_token</parameter> is present in <parameter>$_GET</parameter> + or <parameter>$_POST</parameter> it is passed automatically and the caller + does not need to specify a <parameter>verifier_token</parameter> (usually if the access token + is exchanged at the oauth_callback URL). + <link xlink:href="&url.oauth.scale;">See ScalableOAuth</link> + for more information. + </para> + </listitem> + </varlistentry> </variablelist> </para> </refsect1> @@ -54,6 +69,30 @@ </para> </refsect1> + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>0.99.9</entry> + <entry> + The <parameter>verifier_token</parameter> parameter was added + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + <refsect1 role="examples"> &reftitle.examples; <para> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/oauth/oauth/getrequesttoken.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/oauth/oauth/getrequesttoken.xml diff -u phpdoc/en/reference/oauth/oauth/getrequesttoken.xml:1.1 phpdoc/en/reference/oauth/oauth/getrequesttoken.xml:1.2 --- phpdoc/en/reference/oauth/oauth/getrequesttoken.xml:1.1 Wed Dec 31 00:38:41 2008 +++ phpdoc/en/reference/oauth/oauth/getrequesttoken.xml Wed May 20 14:50:32 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry xml:id="oauth.getrequesttoken" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> @@ -12,6 +12,7 @@ <methodsynopsis> <modifier>public</modifier> <type>array</type><methodname>OAuth::getRequestToken</methodname> <methodparam><type>string</type><parameter>request_token_url</parameter></methodparam> + <methodparam><type>string</type><parameter>callback_url</parameter></methodparam> </methodsynopsis> <para> Fetch a request token, secret and any additional response parameters from the service provider. @@ -30,6 +31,14 @@ </para> </listitem> </varlistentry> + <varlistentry> + <term><parameter>callback_url</parameter></term> + <listitem> + <para> + OAuth callback URL. If <parameter>callback_url</parameter> is passed and is an empty value, it is set to "oob" to address the OAuth 2009.1 advisory. + </para> + </listitem> + </varlistentry> </variablelist> </para> </refsect1> @@ -41,6 +50,30 @@ </para> </refsect1> + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>0.99.9</entry> + <entry> + The <parameter>callback_url</parameter> parameter was added + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + <refsect1 role="examples"> &reftitle.examples; <para> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/oauth/functions/oauth-get-sbs.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/oauth/functions/oauth-get-sbs.xml +++ phpdoc/en/reference/oauth/functions/oauth-get-sbs.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="function.oauth_get_sbs" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>oauth_get_sbs</refname> <refpurpose>Generate a Signature Base String</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>string</type><methodname>oauth_get_sbs</methodname> <methodparam><type>string</type><parameter>http_method</parameter></methodparam> <methodparam><type>string</type><parameter>uri</parameter></methodparam> <methodparam><type>array</type><parameter>request_parameters</parameter></methodparam> </methodsynopsis> <para> Generates a Signature Base String according to pecl/oauth. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>http_method</parameter></term> <listitem> <para> The HTTP method. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>uri</parameter></term> <listitem> <para> URI to encode. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>request_parameters</parameter></term> <listitem> <para> Array of request parameters. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns a Signature Base String. </para> </refsect1> </refentry> <!-- 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:"../../../../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 -->
« previous php.doc.cvs (#4037) next »