ZNC  trunk
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() [1/2]

CClientAuth::CClientAuth ( CClient pClient,
const CString sUsername,
const CString sPassword 
)

◆ ~CClientAuth()

virtual CClientAuth::~CClientAuth ( )
inlinevirtual

◆ CClientAuth() [2/2]

CClientAuth::CClientAuth ( const CClientAuth )
delete

Member Function Documentation

◆ AcceptedLogin()

void CClientAuth::AcceptedLogin ( CUser User)
overridevirtual

Implements CAuthBase.

◆ AcceptLogin()

void CAuthBase::AcceptLogin ( CUser User)
inherited

◆ GetPassword()

const CString& CAuthBase::GetPassword ( ) const
inlineinherited

◆ GetRemoteIP()

CString CAuthBase::GetRemoteIP ( ) const
inherited

◆ GetSocket()

Csock* CAuthBase::GetSocket ( ) const
inlineinherited

◆ GetUsername()

const CString& CAuthBase::GetUsername ( ) const
inlineinherited

◆ Invalidate()

void CClientAuth::Invalidate ( )
inlineoverridevirtual

Reimplemented from CAuthBase.

References CAuthBase::Invalidate(), and m_pClient.

◆ operator=()

CClientAuth& CClientAuth::operator= ( const CClientAuth )
delete

◆ RefusedLogin()

void CClientAuth::RefusedLogin ( const CString sReason)
overridevirtual

Implements CAuthBase.

◆ RefuseLogin()

void CAuthBase::RefuseLogin ( const CString sReason)
inherited

◆ SetLoginInfo()

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

Member Data Documentation

◆ m_pClient

CClient* CClientAuth::m_pClient
protected

Referenced by Invalidate().


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