Lemonldap::NG::Portal::Main::Request - HTTP request object used in LLNG portal methods.
# Somewhere in a plugin... sub run { my ( $self, $req ) = @_; # $req is a Lemonldap::NG::Portal::Main::Request object ... }
Lemonldap::NG::Portal::Main::Request extends Lemonldap::NG::Common::PSGI::Request to add all parameters needed to manage portal jobs.
Stack of methods to call for this requests. It can be modified to change authentication process
Free hash ref where plugins can store their data (during one request). Using it is a LLNG best practice
Free hash ref where plugins can store some persistent data: data are kept during auth process and cleaned after successful authentication, except if $req->pdata->{keepPdata} is set to an array of values. In this case, module that has set these values must remove them after its job ends.
$req->pdata->{keepPdata}
Session id (main cookie value).
Hash ref that will be stored in session DB.
Username given by authentication module, used by userDB module.
Boolean to indicate that response must be a redirection (used for example when request is a POST).
Boolean to indicate that url isn't Base64 encoded.
Store info to display in response.
see notification plugin.
Returns positive/warning/negative depending on value stored in error property.
http://lemonldap-ng.org/, Lemonldap::NG::Common::PSGI::Request
Use OW2 system to report bug or ask for features: https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/issues
Lemonldap::NG is available at http://forge.objectweb.org/project/showfiles.php?group_id=274
See COPYING file for details.
This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.
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 General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
To install Lemonldap::NG::Portal, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lemonldap::NG::Portal
CPAN shell
perl -MCPAN -e shell install Lemonldap::NG::Portal
For more information on module installation, please visit the detailed CPAN module installation guide.