here is some suggested pod for RequestRec.pod

--Geoff
Index: docs/api/Apache/RequestRec.pod
===================================================================
RCS file: /home/cvs/modperl-docs/src/docs/2.0/api/Apache/RequestRec.pod,v
retrieving revision 1.1
diff -u -r1.1 RequestRec.pod
--- docs/api/Apache/RequestRec.pod      27 Jan 2003 04:05:12 -0000      1.1
+++ docs/api/Apache/RequestRec.pod      21 Feb 2003 13:29:53 -0000
@@ -75,6 +75,38 @@
 values associated with the key C<$key> (and the key itself) will be
 deleted.
 
+=item * ap_auth_type()
+
+C<$r-E<gt>ap_auth_type> gets or sets the I<ap_auth_type> slot in the
+request record.
+
+  $r->ap_auth_type('Basic');
+
+or
+
+  my $auth_type = $r->ap_auth_type;
+
+I<ap_auth_type> holds the authentication type that has been negotiated
+between the client and server during the actual request.  Generally,
+I<ap_auth_type> is populated automatically when you call 
+C<$r-E<gt>get_basic_auth_pw> so you don't really need to worry
+too much about it,  but if you want to roll your own authentication
+mechanism then you will have to populate I<ap_auth_type> yourself.
+
+Note that C<$r-E<gt>ap_auth_type> was C<$r-E<gt>connection-E<gt>auth_type>
+in the mod_perl 1.0 API.
+
+=item * auth_type()
+
+C<$r-E<gt>auth_type> gets or sets the value of the I<AuthType>
+configuration directive for the current request.
+
+  my $auth_type = $r->auth_type;
+
+or
+
+  $r->auth_type('Basic');
+
 =item *
 
 =back

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to