Module login
[show private | hide private]
[frames | no frames]

Module login

Function Summary
  getURL(scriptName)
Get the server's URL and add the port if it is not port 80.
  htmlEnd()
This should be the bulk of the page's HTML.
  htmlStart()
The header et al.
  javascript(script)
This is the JavaScript that is used in your page.
  submit(name, pswd)
This is part of the public API.
  username(name)
This is part of the public API.

Imported modules:
cgi, datetime, os, re, simplejson, sys, traceback, types
Imported classes:
AjaxStub, AjaxStubDispatch, StringIO, StubContainer
Imported exceptions:
AjaxStubException
Function Details

getURL(scriptName=None)

Get the server's URL and add the port if it is not port 80. If scriptName is not None add it to the URL else add this script to the URL.
Parameters:
scriptName - CGI script that will respond to the page request.
Returns:
The URL that the client will send requests to.

htmlEnd()

This should be the bulk of the page's HTML.

htmlStart()

The header et al. of your page.

javascript(script=None)

This is the JavaScript that is used in your page.
Parameters:
script - The response script. See getURL()

submit(name, pswd)

This is part of the public API. It could be used to validate the password.

Arguments:
Parameters:
name - The username to validate.
pswd - The password to validate.
Returns:
A string indicating a response from the server.

username(name)

This is part of the public API. It could be used to validate the username.
Parameters:
name - The username to validate.
Returns:
A string indicating a response from the server.

Generated by Epydoc 2.1 on Fri Aug 3 23:25:20 2007 http://epydoc.sf.net