CGI::A...:Basic(3pm)
π CGI::Application::Plugin::Authentication::Display::Basic π
from the User Contributed Perl Documentation, bestie β okay so the manual name is a whole entire sentence and we are obsessed. This page is the XHTML compliant no frills login display driver page, no cap. π
β¨ NAME β¨
CGI::Application::Plugin::Authentication::Display::Basic β XHTML compliant no frills login display driver. Thatβs the whole vibe: no frills, but she still slays. π
πΈ DESCRIPTION πΈ
okay so this module provides a login box that works out of the box but which can be configured to modify the styling. literally iconic β it works immediately, and you can still make it cute. π¦
π οΈ METHODS π οΈ
π new
The constructor must be passed the CGI::Application object as the first non-object argument. no cap, thatβs the rule. π«Ά
π login_box
This method will return the HTML for a login box that can be embedded into another page. This is the same login box that is used in the default authen_login runmode that the plugin provides. iykyk. π
Note that if somehow this method is run, whilst the user is authenticated, it will croak. she will not hold back π
You can set this option to customize the login form that is created when a user needs to be authenticated. If you wish to replace the entire login form with a completely custom version, then just set LOGIN_RUNMODE to point to your custom runmode. main character energy π
All of the parameters listed below are optional, and a reasonable default will be used if left blank:
TITLEβ default:Sign In; the heading at the top of the login box.USERNAME_LABELβ default:User Name; the label for the user name input.PASSWORD_LABELβ default:Password; the label for the password input.SUBMIT_LABELβ default:Sign In; the label for the submit button.COMMENTβ default:Please enter your username and password in the fields below.; a message provided on the first login attempt.REMEMBERUSER_OPTIONβ default:1; provide a checkbox to offer to remember the users name in a cookie so that their user name will be pre-filled the next time they log in.REMEMBERUSER_LABELβ default:Remember User Name; the label for the remember user name checkbox.REMEMBERUSER_COOKIENAMEβ default:CAPAUTHTOKEN; the name of the cookie where the user name will be saved.REGISTER_URLβ default:<none>; the URL for the register new account link.REGISTER_LABELβ default:Register Now!; the label for the register new account link.FORGOTPASSWORD_URLβ default:<none>; the URL for the forgot password link.FORGOTPASSWORD_LABELβ default:Forgot Password?; the label for the forgot password link.INVALIDPASSWORD_MESSAGEβ default:Invalid username or password<br/>(login attempt %d); a message given when a login failed.FORM_SUBMIT_METHODβ default:post; use this to get the form to submit using'get'instead of'post'.
π BUGS π
β οΈ alpha software alert: This is alpha software and as such, the features and interface are subject to change. So please check the Changes file when upgrading. fr fr
π SEE ALSO π
CGI::Applicationperl(1)
π AUTHOR π
Author: Cees Hek <ceeshek@gmail.com>; Co-maintainer: Nicholas Bamber <nicholas@periapt.co.uk>. π«Ά
π CREDITS π
Thanks to SiteSuite (http://www.sitesuite.com.au) for funding the development of this plugin and for releasing it to the world. king behavior π
Thanks to Christian Walde for suggesting changes to fix the incompatibility with CGI::Application::Plugin::ActionDispatch and for help with github. real ones π«Ά
π LICENCE AND COPYRIGHT π
Copyright (c) 2005, SiteSuite. All rights reserved.Copyright (c) 2010, Nicholas Bamber.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. π§
βοΈ DISCLAIMER OF WARRANTY βοΈ
bestie, legal voice on β this is the warranty disclaimer, no cap:
BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
thatβs the whole manual, bestie β brought to you by perl v5.38.2, dated 2024-06-29, and the footerβs still rocking CGI::A...:Basic(3pm). slay ππ
π¦ where this page comes from
- debian trixie: libcgi-application-plugin-authentication-perl 0.25+~cs0.5-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libcgi-application-plugin-authentication-perl 0.25+~cs0.5-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libcgi-application-plugin-authentication-perl 0.25+~cs0.5-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms