Table of Contents

Class: Authenticator qm/user.py

Base class for authentication classes.

An Authenticator object is responsible for determining the authenticity of a user. The inputs to an authentication action depend on the mechanism with which the user communicates with the program -- for instance, a web request, command invocation, or email message.

Methods   
AuthenticateDefaultUser
AuthenticateWebRequest
  AuthenticateDefaultUser 
AuthenticateDefaultUser ( self )

Authenticate for the default user, if one is provided.

returns
The user ID of the default user.
Exceptions   
NotImplementedError
  AuthenticateWebRequest 
AuthenticateWebRequest ( self,  request )

Authenticate a login web request.

request
A web request containing the user's login information.
returns
The user ID of the authenticated user.
Exceptions   
NotImplementedError

Table of Contents

This document was automatically generated on Mon Jan 3 09:42:29 2005 by HappyDoc version 2.1