Public Member Functions

ENone Class Reference

Inherits Module.

Collaboration diagram for ENone:
Collaboration graph
[legend]

Public Member Functions

 ENone (const Anope::string &modname, const Anope::string &creator)
EventReturn OnEncrypt (const Anope::string &src, Anope::string &dest) anope_override
EventReturn OnDecrypt (const Anope::string &hashm, const Anope::string &src, Anope::string &dest) anope_override
void OnCheckAuthentication (User *, IdentifyRequest *req) anope_override

Detailed Description

Definition at line 12 of file enc_none.cpp.


Constructor & Destructor Documentation

ENone::ENone ( const Anope::string modname,
const Anope::string creator 
) [inline]

Member Function Documentation

void ENone::OnCheckAuthentication ( User u,
IdentifyRequest req 
) [inline, virtual]

Check whether a username and password is correct

Parameters:
u The user trying to identify, if applicable.
req The login request

Reimplemented from Module.

Definition at line 44 of file enc_none.cpp.

References Anope::string::begin(), Anope::Encrypt(), ENCRYPTION, Anope::string::equals_cs(), Anope::string::find(), NickAlias::Find(), ModuleManager::FindFirstOf(), NickAlias::nc, Anope::string::npos, OnEncrypt(), and NickCore::pass.

EventReturn ENone::OnDecrypt ( const Anope::string hashm,
const Anope::string src,
Anope::string dest 
) [inline, virtual]

Reimplemented from Module.

Definition at line 34 of file enc_none.cpp.

References Anope::B64Decode(), Anope::string::equals_cs(), EVENT_CONTINUE, and hashm.

EventReturn ENone::OnEncrypt ( const Anope::string src,
Anope::string dest 
) [inline, virtual]

Called when anope needs to check passwords against encryption see src/encrypt.c for detailed informations

Reimplemented from Module.

Definition at line 23 of file enc_none.cpp.

References Anope::B64Encode(), and LOG_DEBUG_2.

Referenced by OnCheckAuthentication().


The documentation for this class was generated from the following file: