ZNC  trunk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
CClientAuth Class Reference

#include <Client.h>

+ Inheritance diagram for CClientAuth:
+ Collaboration diagram for CClientAuth:

Public Member Functions

 CClientAuth (CClient *pClient, const CString &sUsername, const CString &sPassword)
 
virtual ~CClientAuth ()
 
 CClientAuth (const CClientAuth &)=delete
 
CClientAuthoperator= (const CClientAuth &)=delete
 
void Invalidate () override
 
void AcceptedLogin (CUser &User) override
 
void RefusedLogin (const CString &sReason) override
 
virtual void SetLoginInfo (const CString &sUsername, const CString &sPassword, CZNCSock *pSock)
 
void AcceptLogin (CUser &User)
 
void RefuseLogin (const CString &sReason)
 
const CStringGetUsername () const
 
const CStringGetPassword () const
 
CsockGetSocket () const
 
CString GetRemoteIP () const
 

Protected Attributes

CClientm_pClient
 

Constructor & Destructor Documentation

CClientAuth::CClientAuth ( CClient pClient,
const CString sUsername,
const CString sPassword 
)
virtual CClientAuth::~CClientAuth ( )
inlinevirtual
CClientAuth::CClientAuth ( const CClientAuth )
delete

Member Function Documentation

void CClientAuth::AcceptedLogin ( CUser User)
overridevirtual

Implements CAuthBase.

void CAuthBase::AcceptLogin ( CUser User)
inherited
const CString& CAuthBase::GetPassword ( ) const
inlineinherited
CString CAuthBase::GetRemoteIP ( ) const
inherited
Csock* CAuthBase::GetSocket ( ) const
inlineinherited
const CString& CAuthBase::GetUsername ( ) const
inlineinherited
void CClientAuth::Invalidate ( )
inlineoverridevirtual

Reimplemented from CAuthBase.

References CAuthBase::Invalidate(), and m_pClient.

CClientAuth& CClientAuth::operator= ( const CClientAuth )
delete
void CClientAuth::RefusedLogin ( const CString sReason)
overridevirtual

Implements CAuthBase.

void CAuthBase::RefuseLogin ( const CString sReason)
inherited
virtual void CAuthBase::SetLoginInfo ( const CString sUsername,
const CString sPassword,
CZNCSock pSock 
)
inlinevirtualinherited

Member Data Documentation

CClient* CClientAuth::m_pClient
protected

Referenced by Invalidate().


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