xrootd
Loading...
Searching...
No Matches
XrdSciTokensHelper.hh
Go to the documentation of this file.
1#ifndef __XrdSciTokensHelper_hh__
2#define __XrdSciTokensHelper_hh__
3/******************************************************************************/
4/* */
5/* X r d S c i T o k e n s H e l p e r . h h */
6/* */
7/******************************************************************************/
8
9#include <string>
10#include <vector>
11
12//-----------------------------------------------------------------------------
18//-----------------------------------------------------------------------------
19
20class XrdSecEntity;
21
23{
24public:
25
26//-----------------------------------------------------------------------------
33//-----------------------------------------------------------------------------
34
36 {std::string issuer_name;
37 std::string issuer_url;
38 };
39typedef std::vector<ValidIssuer> Issuers;
40
41virtual Issuers IssuerList() = 0;
42
43//-----------------------------------------------------------------------------
56//-----------------------------------------------------------------------------
57
58virtual bool Validate(const char *token,
59 std::string &emsg,
60 long long *expT=0,
61 XrdSecEntity *entP=0) = 0;
62
63//-----------------------------------------------------------------------------
65//-----------------------------------------------------------------------------
66
69};
70#endif
Definition XrdSciTokensHelper.hh:23
virtual bool Validate(const char *token, std::string &emsg, long long *expT=0, XrdSecEntity *entP=0)=0
XrdSciTokensHelper()
Constructor and Destructor.
Definition XrdSciTokensHelper.hh:67
virtual ~XrdSciTokensHelper()
Definition XrdSciTokensHelper.hh:68
virtual Issuers IssuerList()=0
std::vector< ValidIssuer > Issuers
Definition XrdSciTokensHelper.hh:39
Definition XrdSecEntity.hh:65
Definition XrdSciTokensHelper.hh:36
std::string issuer_name
Definition XrdSciTokensHelper.hh:36
std::string issuer_url
Definition XrdSciTokensHelper.hh:37