BigBrotherBot v1.9.0
System Development Information for the BigBrotherBot project.

b3::plugins::login::LoginPlugin Class Reference

Inheritance diagram for b3::plugins::login::LoginPlugin:
b3::plugin::Plugin b3::plugin::Plugin

List of all members.

Public Member Functions

def onLoadConfig
def onStartup
def onEvent
def onAuth
def cmd_login
def cmd_setpassword
def onLoadConfig
def onStartup
def onEvent
def onAuth
def cmd_login
def cmd_setpassword

Public Attributes

 threshold
 passwdlevel

Private Member Functions

def _get_client_from_db
def _get_client_from_db

Private Attributes

 _adminPlugin
 _pmcomm

Static Private Attributes

string _pmcomm = ''

Member Function Documentation

def b3::plugins::login::LoginPlugin::_get_client_from_db (   self,
  client_id 
) [private]
def b3::plugins::login::LoginPlugin::_get_client_from_db (   self,
  client_id 
) [private]
def b3::plugins::login::LoginPlugin::cmd_login (   self,
  data,
  client,
  cmd = None 
)
\
<password> - login a privileged user to his full capabilities
def b3::plugins::login::LoginPlugin::cmd_login (   self,
  data,
  client,
  cmd = None 
)
\
<password> - login a privileged user to his full capabilities
def b3::plugins::login::LoginPlugin::cmd_setpassword (   self,
  data,
  client,
  cmd = None 
)
\
<password> [<name>] - set a password for a client
def b3::plugins::login::LoginPlugin::cmd_setpassword (   self,
  data,
  client,
  cmd = None 
)
\
<password> [<name>] - set a password for a client
def b3::plugins::login::LoginPlugin::onAuth (   self,
  client 
)
def b3::plugins::login::LoginPlugin::onAuth (   self,
  client 
)
def b3::plugins::login::LoginPlugin::onEvent (   self,
  event 
)
\
Called by B3 when a registered event is encountered. You must overwrite
this to intercept events.

Reimplemented from b3::plugin::Plugin.

def b3::plugins::login::LoginPlugin::onEvent (   self,
  event 
)
\
Called by B3 when a registered event is encountered. You must overwrite
this to intercept events.

Reimplemented from b3::plugin::Plugin.

def b3::plugins::login::LoginPlugin::onLoadConfig (   self)
\
This is called after loadConfig(). Any plugin private variables loaded
from the config need to be reset here.

Reimplemented from b3::plugin::Plugin.

def b3::plugins::login::LoginPlugin::onLoadConfig (   self)
\
This is called after loadConfig(). Any plugin private variables loaded
from the config need to be reset here.

Reimplemented from b3::plugin::Plugin.

def b3::plugins::login::LoginPlugin::onStartup (   self)
\
Called after the plugin is created before it is started. Overwrite this
for anything you need to initialize you plugin with.

Reimplemented from b3::plugin::Plugin.

def b3::plugins::login::LoginPlugin::onStartup (   self)
\
Called after the plugin is created before it is started. Overwrite this
for anything you need to initialize you plugin with.

Reimplemented from b3::plugin::Plugin.


Member Data Documentation

string b3::plugins::login::LoginPlugin::_pmcomm = '' [static, private]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Properties