Package buildbot :: Package status :: Package web :: Module auth :: Class HTPasswdAuth
[frames] | no frames]

Class HTPasswdAuth

source code

AuthBase --+
           |
          HTPasswdAuth
Known Subclasses:

Instance Methods
 
__init__(self, file)
file is a path to an .htpasswd file.
source code
 
authenticate(self, user, passwd)
Authenticate user and passwd against an .htpasswd file
source code
 
validatePassword(self, passwd, hash) source code
 
__provides__(...)
Special descriptor for class __provides__

Inherited from AuthBase: __providedBy__, errmsg, getUserInfo

Class Variables
  file = ''
Path to the .htpasswd file to use.
  __implemented__ = <implementedBy buildbot.status.web.auth.HTPa...

Inherited from AuthBase: err, master

Method Details

__provides__(...)

 

Special descriptor for class __provides__

The descriptor caches the implementedBy info, so that we can get declarations for objects without instance-specific interfaces a bit quicker.

Overrides: AuthBase.__provides__

Class Variable Details

__implemented__

Value:
<implementedBy buildbot.status.web.auth.HTPasswdAuth>