X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=cgi-auth-flexible.git;a=blobdiff_plain;f=caf.pod;h=216410332ba969741638bbd470be110c907944fd;hp=1308700f58b6a96dd6e08bcc67fbd569eaac99e0;hb=22718a11458ca91fa40bcd11270ed1e3606ea12f;hpb=850b51b3ddfd5c5302cb901ac91e5b9d3cbd81ed diff --git a/caf.pod b/caf.pod index 1308700..2164103 100644 --- a/caf.pod +++ b/caf.pod @@ -367,7 +367,7 @@ Discards the resources (open files, etc.) in the verifier object. =back -=head REQUEST-RELATED FUNCTIONS AND METHODS +=head1 REQUEST-RELATED FUNCTIONS AND METHODS All of these are only valid after C or C has been called. (In the case of C it won't normally be sensible @@ -409,11 +409,11 @@ whenever it is handling anything except an HTML page loads, it must call this function. See L, and L. -C will either return successfully, indicating that all +C will either return successfully, indicating that all is well and the request should proceed, or it will die, like C. -=head RESPONSE-RELATED FUNCTIONS AND METHODS +=head1 RESPONSE-RELATED FUNCTIONS AND METHODS =item C<< $authreq->url_with_query_params($params, [$nonpagetype]) >> @@ -461,18 +461,9 @@ Returns the value of the secret cookie. CGI::Auth::Flexible sets this cookie in the forms generated by C. You may also set it yourself (and indeed you must do so if you use C). -=item C<< $authreq->chain_params() >> - -Returns a hash of the "relevant" parameters to this request, in a form -used by XXX. This is all of the query parameters which are not -related to CGI::Auth::Flexible. The PATH_INFO from the request is -returned as the parameter C<< '' >>. - -xxx why use this function - =back -=head OTHER FUNCTIONS AND METHODS +=head1 OTHER FUNCTIONS AND METHODS =over @@ -531,6 +522,198 @@ digits. =back +=head1 REQUEST TYPES + +The C<$reqtype> values understood by C are strings. +They are: + +=over + +=item C + +A top-level HTML page load. May contain confidential information for +the benefit of the logged-in user. + +=item C + +An HTML frame. May contain confidential information for +the benefit of the logged-in user. + +=item C