GPop::AuthImp Class Reference

A private pimple-pattern implementation class used by GPop::Auth. More...

List of all members.

Public Member Functions

 AuthImp (const Secrets &)
bool valid () const
bool init (const std::string &mechanism)
bool authenticated (const std::string &, const std::string &)
std::string challenge ()
std::string id () const
std::string mechanisms () const


Detailed Description

A private pimple-pattern implementation class used by GPop::Auth.

Definition at line 28 of file gpopauth.cpp.


Constructor & Destructor Documentation

GPop::AuthImp::AuthImp ( const Secrets secrets  )  [explicit]

Definition at line 46 of file gpopauth.cpp.

References GSmtp::SaslServer::init().


Member Function Documentation

bool GPop::AuthImp::valid (  )  const

Definition at line 53 of file gpopauth.cpp.

References GSmtp::SaslServer::active(), and GPop::Secrets::valid().

Referenced by GPop::Auth::valid().

bool GPop::AuthImp::init ( const std::string &  mechanism  ) 

Definition at line 58 of file gpopauth.cpp.

References G_DEBUG, and GSmtp::SaslServer::init().

Referenced by GPop::Auth::init().

bool GPop::AuthImp::authenticated ( const std::string &  p1,
const std::string &  p2 
)

std::string GPop::AuthImp::challenge (  ) 

Definition at line 81 of file gpopauth.cpp.

References GSmtp::SaslServer::initialChallenge().

Referenced by GPop::Auth::challenge().

std::string GPop::AuthImp::id (  )  const

Definition at line 86 of file gpopauth.cpp.

References GSmtp::SaslServer::id().

Referenced by GPop::Auth::id().

std::string GPop::AuthImp::mechanisms (  )  const

Definition at line 91 of file gpopauth.cpp.

References GSmtp::SaslServer::mechanisms().

Referenced by GPop::Auth::mechanisms().


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

Generated on Fri Apr 18 15:56:13 2008 for E-MailRelay by  doxygen 1.5.5