Package WebStack :: Package Resources :: Module Login :: Class LoginResource
[show private | hide private]
[frames | no frames]

Class LoginResource


A resource providing a login screen.
Method Summary
  __init__(self, authenticator, use_redirect, urlencoding)
Initialise the resource with an 'authenticator'.
  respond(self, trans)
Respond using the transaction 'trans'.

Class Variable Summary
str encoding = 'utf-8'

Method Details

__init__(self, authenticator, use_redirect=1, urlencoding=None)
(Constructor)

Initialise the resource with an 'authenticator'.

If the optional 'use_redirect' flag is set to 0, a confirmation screen is given instead of redirecting the user back to the original application.

The optional 'urlencoding' parameter allows a special encoding to be used in producing the redirection path.

respond(self, trans)

Respond using the transaction 'trans'.

Class Variable Details

encoding

Type:
str
Value:
'utf-8'                                                                

Generated by Epydoc 2.1 on Tue Dec 6 18:20:22 2005 http://epydoc.sf.net