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.
|
|
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.
|
|