Warning, file /include/root/TRootSecContext.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TRootSecContext
0013 #define ROOT_TRootSecContext
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024 #include "TAuthenticate.h"
0025 #include "TSecContext.h"
0026
0027 class TRootSecContext : public TSecContext {
0028
0029 private:
0030 Int_t fRSAKey;
0031
0032 Bool_t CleanupSecContext(Bool_t all) override;
0033
0034 public:
0035
0036 TRootSecContext(const char *url, Int_t meth, Int_t offset,
0037 const char *id, const char *token,
0038 TDatime expdate = kROOTTZERO, void *ctx = nullptr, Int_t key = 1);
0039 TRootSecContext(const char *user, const char *host, Int_t meth, Int_t offset,
0040 const char *id, const char *token,
0041 TDatime expdate = kROOTTZERO, void *ctx = nullptr, Int_t key = 1);
0042 virtual ~TRootSecContext();
0043
0044 const char *AsString(TString &out) override;
0045
0046 void DeActivate(Option_t *opt = "CR") override;
0047 Int_t GetRSAKey() const { return fRSAKey; }
0048
0049 void Print(Option_t *option = "F") const override;
0050
0051 ClassDefOverride(TRootSecContext,0)
0052 };
0053
0054 #endif