X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=cgi-auth-flexible.git;a=blobdiff_plain;f=caf.pod;h=8ed5d518227c7c903cc1344caaebec0771781829;hp=b0fb8d41c582eaf7715befdf308585971be2d846;hb=28a91929befb605f10c4136b426ffcc09950ebf9;hpb=3cb3245f8f64fddad331c05c1b9f87d063191ecf;ds=sidebyside diff --git a/caf.pod b/caf.pod index b0fb8d4..8ed5d51 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 C. 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