CAM-UserApp

 view release on metacpan or  search on metacpan

ChangeLog  view on Meta::CPAN

	  as a test for username  CVS:
	  ----------------------------------------------------------------------

2003-03-04 00:50  chris

	* UserApp.pm: Move argument defaults to constructor

2003-03-01 14:44  chris

	* UserApp.pm: Allow CGI parameters to be passed through login
	  transparently

2003-02-28 17:36  chris

	* UserApp.pm: Fix POD

2003-02-28 17:27  chris

	* UserApp.pm: v0.02 Documentation Some small API changes

2003-02-27 16:12  chris

lib/CAM/UserApp.pm  view on Meta::CPAN

  error => string

Indicates a reason why this method has been called, like "Login
failure".  On a fresh login, this argument is absent.

  passthru => string

An accumulation of CGI parameters passed to this program, in the form
of '<input type=hidden name=key value=value>' for each parameter.
Implementations are welcome to ignore this, but they should pass it
via an HTML form if they want to make the login be 'transparent',
i.e., if the program should go back to whatever it was doing before
when login is successful login.

Here's an example HTML template file for use with the offerLogin()
implementation in the Synopsis above, using these parameters:

  <html><head><title>Login</title></head><body>
  <form action="::myURL::" method="post">
  ??error?? <span style="color:red">::error::</span> <br> ??error??
  Username: <input type="text" name="username"><br>



( run in 0.359 second using v1.01-cache-2.11-cpan-a1d94b6210f )