class documentation

class BotUser(service.User): (source)

View In Hierarchy

represents a user of the bot

Method __init__ Undocumented
Method __repr__ Undocumented
Method checkPasswd checks if the password for the user equals passwd
Method setPasswd update the password
Instance Variable ircuser references to IrcUser instances
Instance Variable name Undocumented
Instance Variable password Authentification data
Method _hashpw Undocumented
def __init__(self, name): (source)

Undocumented

def __repr__(self): (source)

Undocumented

def checkPasswd(self, passwd): (source)

checks if the password for the user equals passwd

Parameters
passwd:stringinput password
Returns
true if the password was correct
def setPasswd(self, passwd): (source)

update the password

takes a string as password and stores the hash.

Parameters
passwd:stringthe new password.
ircuser: dict = (source)

references to IrcUser instances

Undocumented

password = (source)

Authentification data

def _hashpw(self, pw): (source)

Undocumented