X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=caf.pod;h=6ddc56e647929e40678f68ceb2f33877b6e4ae7b;hb=44cd7013424bdd3811550a47aeff9d01a2a9ce8e;hp=53789b3e14d91b072a6100e94aa547016c6fcba5;hpb=04b4ec8d7709706925384273141b0b35099f7a08;p=cgi-auth-flexible.git diff --git a/caf.pod b/caf.pod index 53789b3..6ddc56e 100644 --- a/caf.pod +++ b/caf.pod @@ -1,5 +1,20 @@ # -*- fundamental -*- +# This is part of CGI::Auth::Flexible, a perl CGI authentication module. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version, with the "CAF Login Exception" +# as published by Ian Jackson (version 1, or at your option any +# later version) as an Additional Permission. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + + =head1 NAME CGI::Auth::Flexible - web authentication optionally using cookies @@ -473,11 +488,12 @@ 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 suitable for C. This is all of the query -parameters which are not related to CGI::Auth::Flexible. The +parameters which are not related to CGI::Auth::Flexible's authentication +arrangements. (The srcdump request parameters B included.) The PATH_INFO from the request is returned as the parameter C<< '' >>. =back @@ -654,7 +670,8 @@ the form used by C. The contents of this hashref does not include the CAF-specific parameters such as the secret cookie, those which follow from the kind -of diversion requested, etc. +of diversion requested, etc. (But they may include the +srcdump_param_name, so that srcdump_needlogin can work properly.) It is correct to always include the contents of C as hidden parameters in the urls for all redirections, and as hidden input @@ -1131,6 +1148,11 @@ names. They will all start with this string. Default: C. =over +=item C + +Boolean: do users need to log in to be able to download the source +code for the whole application ? Default: 0. + =item C Form parameter name used to indicate that this is a source download