Logo ROOT  
Reference Guide
TRootAuth Class Reference

Definition at line 31 of file TRootAuth.h.

Public Member Functions

 TRootAuth ()
 
virtual ~TRootAuth ()
 
TSecContextAuthenticate (TSocket *, const char *host, const char *user, Option_t *options="")
 Runs authentication on socket s. More...
 
Int_t ClientVersion ()
 Return client version;. More...
 
void ErrorMsg (const char *where, Int_t ecode=-1)
 Print error string corresponding to ecode, prepending location. More...
 
const char * Name ()
 
- Public Member Functions inherited from TVirtualAuth
 TVirtualAuth ()
 
virtual ~TVirtualAuth ()
 
virtual TSecContextAuthenticate (TSocket *, const char *host, const char *user, Option_t *options)=0
 
virtual Int_t ClientVersion ()=0
 
virtual void ErrorMsg (const char *where, Int_t ecode)=0
 
virtual const char * Name ()=0
 

#include <TRootAuth.h>

Inheritance diagram for TRootAuth:
[legend]

Constructor & Destructor Documentation

◆ TRootAuth()

TRootAuth::TRootAuth ( )
inline

Definition at line 34 of file TRootAuth.h.

◆ ~TRootAuth()

virtual TRootAuth::~TRootAuth ( )
inlinevirtual

Definition at line 35 of file TRootAuth.h.

Member Function Documentation

◆ Authenticate()

TSecContext * TRootAuth::Authenticate ( TSocket s,
const char *  host,
const char *  user,
Option_t opts = "" 
)
virtual

Runs authentication on socket s.

Invoked when dynamic loading is needed. Returns 1 on success, 0 on failure.

Implements TVirtualAuth.

Definition at line 35 of file TRootAuth.cxx.

◆ ClientVersion()

Int_t TRootAuth::ClientVersion ( )
virtual

Return client version;.

Implements TVirtualAuth.

Definition at line 110 of file TRootAuth.cxx.

◆ ErrorMsg()

void TRootAuth::ErrorMsg ( const char *  where,
Int_t  ecode = -1 
)
virtual

Print error string corresponding to ecode, prepending location.

Implements TVirtualAuth.

Definition at line 118 of file TRootAuth.cxx.

◆ Name()

const char * TRootAuth::Name ( )
inlinevirtual

Implements TVirtualAuth.

Definition at line 41 of file TRootAuth.h.

Libraries for TRootAuth:
[legend]

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