xrootd
XrdSciTokensHelper.hh
Go to the documentation of this file.
1/******************************************************************************/
2/* */
3/* X r d S c i T o k e n s H e l p e r . h h */
4/* */
5/******************************************************************************/
6
7#include <string>
8#include <vector>
9
10//-----------------------------------------------------------------------------
16//-----------------------------------------------------------------------------
17
18class XrdSecEntity;
19
21{
22public:
23
24//-----------------------------------------------------------------------------
31//-----------------------------------------------------------------------------
32
34 {std::string issuer_name;
35 std::string issuer_url;
36 };
37typedef std::vector<ValidIssuer> Issuers;
38
39virtual Issuers IssuerList() = 0;
40
41//-----------------------------------------------------------------------------
54//-----------------------------------------------------------------------------
55
56virtual bool Validate(const char *token,
57 std::string &emsg,
58 long long *expT=0,
59 XrdSecEntity *entP=0) = 0;
60
61//-----------------------------------------------------------------------------
63//-----------------------------------------------------------------------------
64
67};
Definition: XrdSciTokensHelper.hh:21
virtual bool Validate(const char *token, std::string &emsg, long long *expT=0, XrdSecEntity *entP=0)=0
XrdSciTokensHelper()
Constructor and Destructor.
Definition: XrdSciTokensHelper.hh:65
virtual ~XrdSciTokensHelper()
Definition: XrdSciTokensHelper.hh:66
virtual Issuers IssuerList()=0
std::vector< ValidIssuer > Issuers
Definition: XrdSciTokensHelper.hh:37
Definition: XrdSecEntity.hh:64
Definition: XrdSciTokensHelper.hh:34
std::string issuer_name
Definition: XrdSciTokensHelper.hh:34
std::string issuer_url
Definition: XrdSciTokensHelper.hh:35