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

Inherited from AuthBase: __providedBy__, errmsg, getUserInfo

Class Variables
  __implemented__ = <implementedBy buildbot.status.web.auth.User...
  __provides__ = <zope.interface.declarations.ClassProvides obje...

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.

Class Variable Details

__implemented__

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

__provides__

Value:
<zope.interface.declarations.ClassProvides object at 0x3c82990>