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

Class UsersAuth

source code

AuthBase --+
           |
          UsersAuth

Implement authentication against users in database

Instance Methods
 
authenticate(self, user, passwd)
It checks for a matching uid in the database for the credentials and return True if a match is found, False otherwise.
source code
 
__provides__(...)
Special descriptor for class __provides__

Inherited from AuthBase: __providedBy__, errmsg, getUserInfo

Class Variables
  __implemented__ = <implementedBy buildbot.status.web.auth.User...

Inherited from AuthBase: err, master

Method Details

authenticate(self, user, passwd)

source code 

It checks for a matching uid in the database for the credentials and return True if a match is found, False otherwise.

Parameters:
  • user (string) - username portion of user credentials
  • passwd (string) - password portion of user credentials
Returns:
boolean via deferred.

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