Trees | Index | Help |
---|
Package WebStack :: Package Resources :: Module Login :: Class LoginResource |
|
A resource providing a login screen.
Method Summary | |
---|---|
Initialise the resource with an 'authenticator'. | |
Respond using the transaction 'trans'. | |
Writes a login screen using the transaction 'trans', including details of the 'app', 'path' and 'qs' which the client was attempting to access. | |
Writes a success screen using the transaction 'trans', including details of the 'app', 'path' and 'qs' which the client was attempting to access. | |
Redirect the client using 'trans' and the given 'app', 'path' and 'qs' details. |
Class Variable Summary | |
---|---|
str |
encoding = 'utf-8'
|
str |
login_page = '\n<html>\n <head>\n <title>Login</titl...
|
str |
success_page = '\n<html>\n <head>\n <title>Login Exa...
|
Method Details |
---|
__init__(self,
authenticator,
use_redirect=1,
urlencoding=None,
encoding=None)
|
respond(self, trans)Respond using the transaction 'trans'. |
show_login(self, trans, app, path, qs)Writes a login screen using the transaction 'trans', including details of the 'app', 'path' and 'qs' which the client was attempting to access. |
show_success(self, trans, app, path, qs)Writes a success screen using the transaction 'trans', including details of the 'app', 'path' and 'qs' which the client was attempting to access. |
_redirect(self, trans, app, path, qs)Redirect the client using 'trans' and the given 'app', 'path' and 'qs' details. |
Class Variable Details |
---|
encoding
|
login_page
|
success_page
|
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Thu Mar 1 00:37:14 2007 | http://epydoc.sf.net |