Module: Irc::Bot::Auth
- Defined in:
- lib/rbot/botuser.rb,
lib/rbot/botuser.rb,
lib/rbot/core/remote.rb
Overview
This module contains the actual Authentication stuff
Defined Under Namespace
Classes: BotOwnerClass, BotUser, Command, DefaultBotUserClass, InvalidPassword, ManagerClass, PermissionSet
Class Method Summary collapse
-
.botowner ⇒ Object
Returns the only instance of BotOwnerClass.
-
.defaultbotuser ⇒ Object
Returns the only instance of DefaultBotUserClass.
-
.manager ⇒ Object
Returns the only instance of ManagerClass.
-
.random_password(l = 8) ⇒ Object
Generate a random password of length l.
Class Method Details
.botowner ⇒ Object
Returns the only instance of BotOwnerClass
629 630 631 |
# File 'lib/rbot/botuser.rb', line 629 def Auth.botowner return BotOwnerClass.instance end |
.defaultbotuser ⇒ Object
Returns the only instance of DefaultBotUserClass
605 606 607 |
# File 'lib/rbot/botuser.rb', line 605 def Auth.defaultbotuser return DefaultBotUserClass.instance end |
.manager ⇒ Object
Returns the only instance of ManagerClass
923 924 925 |
# File 'lib/rbot/botuser.rb', line 923 def Auth.manager return ManagerClass.instance end |