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

Class IAuth

source code

zope.interface.Interface --+
                           |
                          IAuth

Represent an authentication method.

Note that each IAuth instance contains a link to the BuildMaster that will be set once the IAuth instance is initialized.

Instance Methods
 
authenticate(self, user, passwd)
Check whether user / passwd are valid.
source code
 
getUserInfo(self, user)
return dict with user info.
source code
 
errmsg(self)
Get the reason authentication failed.
source code
Class Variables
  master = Attribute('master', "Link to BuildMaster, set when in...
  __bases__ = (<InterfaceClass zope.interface.Interface>)
  __identifier__ = 'buildbot.status.web.auth.IAuth'
  __iro__ = (<InterfaceClass buildbot.status.web.auth.IAuth>, <I...
  __name__ = 'IAuth'
  __sro__ = (<InterfaceClass buildbot.status.web.auth.IAuth>, <I...
  dependents = <WeakKeyDictionary at 98083328>
Method Details

getUserInfo(self, user)

source code 

return dict with user info. dict( fullName="", email="", groups=[])


Class Variable Details

master

Value:
Attribute('master', "Link to BuildMaster, set when initialized")

__iro__

Value:
(<InterfaceClass buildbot.status.web.auth.IAuth>,
 <InterfaceClass zope.interface.Interface>)

__sro__

Value:
(<InterfaceClass buildbot.status.web.auth.IAuth>,
 <InterfaceClass zope.interface.Interface>)