MinimalAuthentication

Implements triggering of queued events in a plugin module, based on user details such as account or hostmask.

Most of the time a plugin doesn't require a full UserAwareness; only those that need looking up users outside of the current event do. The persistency service allows for plugins to just read the information from the IRCUser embedded in the event directly, and that's often enough.

General rule: if a plugin doesn't access IRCPluginState.users, it's probably going to be enough with only MinimalAuthentication.

Members

Functions

onMinimalAuthenticationAccountInfoTargetMixin
void onMinimalAuthenticationAccountInfoTargetMixin(IRCPlugin plugin, IRCEvent event)

Proxies to onMinimalAuthenticationAccountInfoTarget.

onMinimalAuthenticationUnknownCommandWHOISMixin
void onMinimalAuthenticationUnknownCommandWHOISMixin(IRCPlugin plugin, IRCEvent event)

Proxies to onMinimalAuthenticationUnknownCommandWHOIS.

Manifest constants

hasMinimalAuthentication
enum hasMinimalAuthentication;

Flag denoting that MinimalAuthentication

has been mixed in.

Parameters

debug_

Whether or not to include debugging output.

module_

String name of the mixing-in module; generally leave as-is.

See Also