cvs: peardoc /en/package/text/text-password intro.xml types.xml
| From: | Martin Jansen | Date: | Sat, 29 Mar 2003 10:28:43 +0000 |
| Subject: | cvs: peardoc /en/package/text/text-password intro.xml types.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-555@lists.php.net to get a copy of this message | ||
mj Sat Mar 29 05:28:43 2003 EDT
Modified files:
/peardoc/en/package/text/text-password intro.xml types.xml
Log:
* Massively improve the documentation for Text_Password.
Index: peardoc/en/package/text/text-password/intro.xml
diff -u peardoc/en/package/text/text-password/intro.xml:1.1
peardoc/en/package/text/text-password/intro.xml:1.2
--- peardoc/en/package/text/text-password/intro.xml:1.1 Mon Jan 13 13:11:12 2003
+++ peardoc/en/package/text/text-password/intro.xml Sat Mar 29 05:28:43 2003
@@ -1,8 +1,10 @@
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry id="package.text.text-password.intro">
<refnamediv>
<refname>Introduction</refname>
- <refpurpose>Introduction to Text_Password</refpurpose>
+ <refpurpose>
+ Introduction to <classname>Text_Password</classname>
+ </refpurpose>
</refnamediv>
<refsect1>
@@ -10,20 +12,27 @@
<para>
Creating passwords is a very common task when creating web
applications. This package provides an easy-to-use and
- intuitive API to create
+ intuitive <acronym>API</acronym> to create
<itemizedlist>
<listitem>
- <para>pronounceable passwords</para>
+ <para>
+ <link linkend="package.text.text-password.types.pronounceable">pronounceable
passwords</link>
+ </para>
</listitem>
<listitem>
- <para>unpronounceable passwords</para>
+ <para>
+ <link
linkend="package.text.text-password.types.unpronounceable">unpronounceable
passwords</link>
+ </para>
</listitem>
<listitem>
- <para>passwords based on usernames (<quote>logins</quote>)</para>
+ <para>
+ <link linkend="package.text.text-password.types.string">passwords based on
given strings</link>
+ </para>
</listitem>
</itemizedlist>
- For the last point, multiple, simple <quote>obfuscation</quote>
- algorithms are supported.
+ For the last point, multiple, simple
+ <link linkend="package.text.text-password.types.obfuscation">
+ <quote>obfuscation</quote> algorithms</link> are supported.
</para>
</refsect1>
</refentry>
Index: peardoc/en/package/text/text-password/types.xml
diff -u peardoc/en/package/text/text-password/types.xml:1.1
peardoc/en/package/text/text-password/types.xml:1.2
--- peardoc/en/package/text/text-password/types.xml:1.1 Mon Jan 13 13:11:12 2003
+++ peardoc/en/package/text/text-password/types.xml Sat Mar 29 05:28:43 2003
@@ -1,21 +1,21 @@
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry id="package.text.text-password.types">
<refnamediv>
<refname>Supported types of passwords</refname>
<refpurpose>
This part of the documentation introduces the different supported
- types of passwords.
+ types of passwords and gives examples for their usage.
</refpurpose>
</refnamediv>
- <refsect1>
- <title>Pronouncable passwords</title>
+ <refsect1 id="package.text.text-password.types.pronounceable">
+ <title>Pronounceable passwords</title>
<para>
- One feature of Text_Password is the ability to create passwords
- that are pronouncable.
+ One feature of the package is the ability to create passwords
+ that are pronounceable.
</para>
<example>
- <title>Creating a pronouncable password:</title>
+ <title>Creating a pronounceable password:</title>
<programlisting role="php">
<![CDATA[
require_once "Text/Password.php";
@@ -29,15 +29,15 @@
</programlisting>
</example>
</refsect1>
- <refsect1>
- <title>Unpronouncable passwords</title>
+ <refsect1 id="package.text.text-password.types.unpronounceable">
+ <title>Unpronounceable passwords</title>
<para>
- In addition to unpronounceable passwords
+ In addition to pronounceable passwords
<classname>Text_Password</classname> can also handle passwords that
are not pronounceable.
</para>
<example>
- <title>Creating a unpronouncable password:</title>
+ <title>Creating a unpronounceable password:</title>
<programlisting role="php">
<![CDATA[
require_once "Text/Password.php";
@@ -58,15 +58,16 @@
</example>
</refsect1>
- <refsect1>
- <title>Passwords based on usernames</title>
+ <refsect1 id="package.text.text-password.types.string">
+ <title>Passwords based on given strings</title>
<para>
<classname>Text_Password</classname> provides the ability to create
- passwords that are based on a username (usually refered to as
- <quote>login</quote>).
+ passwords that are based on a given string. In a lot of cases this
+ string is a existing username for a
+ <link linkend="package.authentication">authentication</link> system.
</para>
<example>
- <title>Creating passwords based on logins:</title>
+ <title>Creating passwords based on a given string:</title>
<programlisting role="php">
<![CDATA[
require_once "Text/Password.php";
@@ -108,7 +109,7 @@
</programlisting>
</example>
- <para>
+ <para id="package.text.text-password.types.obfuscation">
Currently the following obfuscation algorithms are supported:
<itemizedlist>
<listitem>