File indexing completed on 2026-09-25 09:30:03
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TRootAuth
0013 #define ROOT_TRootAuth
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025 #include "TVirtualAuth.h"
0026 #include "Rtypes.h"
0027
0028 class TSocket;
0029
0030 namespace ROOT::Deprecated {
0031
0032 class TSecContext;
0033
0034 class TRootAuth : public TVirtualAuth {
0035
0036 public:
0037 TRootAuth() {}
0038 virtual ~TRootAuth() {}
0039
0040 TSecContext *Authenticate(TSocket *, const char *host,
0041 const char *user, Option_t *options = "") override;
0042 Int_t ClientVersion() override;
0043 void ErrorMsg(const char *where, Int_t ecode = -1) override;
0044 const char *Name() override { return "Root"; }
0045
0046 ClassDefOverride(TRootAuth,0)
0047 };
0048
0049 }
0050
0051 using TRootAuth R__DEPRECATED(6, 42, "the RootAuth library is deprecated") = ROOT::Deprecated::TRootAuth;
0052
0053 #endif