X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=cgi-auth-flexible.git;a=blobdiff_plain;f=caf.pod;h=fcb061521d4858218e432dd3cbd31f83d90bbb5d;hp=7fefd16cac78f97f3f64e78b2777fd4be41c498f;hb=d4cf8c70946f34cc9f46f9b5fe25962df77154ba;hpb=da3652b45d158dd96fe92581a45203c43db38344 diff --git a/caf.pod b/caf.pod index 7fefd16..fcb0615 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,18 +409,19 @@ 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]) >> Convenience function which returns a url for a GET request to this application. -I<$params> is a hashref specifying the parameters and the PATH_INFO. +I<$params> is a hashref specifying the parameters and the PATH_INFO +(not including any parameters related to CGI::Auth::Flexible). The keys are the parameter names, and the values are array refs with the parameter value(s) (as strings, as yet unquoted). (They are array refs because it is possible to pass multiple values for the same @@ -461,18 +462,16 @@ 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() >> +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 +suitable for 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<< '' >>. =back -=head OTHER FUNCTIONS AND METHODS +=head1 OTHER FUNCTIONS AND METHODS =over @@ -531,6 +530,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