xrootd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Public Types | Public Member Functions | List of all members
XrdSciTokensHelper Class Referenceabstract

#include <XrdSciTokensHelper.hh>

Classes

struct  ValidIssuer
 

Public Types

typedef std::vector< ValidIssuerIssuers
 

Public Member Functions

virtual Issuers IssuerList ()=0
 
virtual bool Validate (const char *token, std::string &emsg, long long *expT=0, XrdSecEntity *entP=0)=0
 
 XrdSciTokensHelper ()
 Constructor and Destructor. More...
 
virtual ~XrdSciTokensHelper ()
 

Member Typedef Documentation

Constructor & Destructor Documentation

XrdSciTokensHelper::XrdSciTokensHelper ( )
inline

Constructor and Destructor.

virtual XrdSciTokensHelper::~XrdSciTokensHelper ( )
inlinevirtual

Member Function Documentation

virtual Issuers XrdSciTokensHelper::IssuerList ( )
pure virtual
virtual bool XrdSciTokensHelper::Validate ( const char *  token,
std::string &  emsg,
long long *  expT = 0,
XrdSecEntity entP = 0 
)
pure virtual

Validate a scitoken.

Parameters
token- Pointer to the token to validate.
emsg- Reference to a string to hold the reason for rejection
expT- Pointer to where the expiry value is to be placed. If nill, the value is not returned.
entP- Pointer to the SecEntity object and when not nil requests that it be filled with any identifying information in the token. The caller assumes that all supplied fields may be released by calling free().
Returns
Return true if the token is valid; false otherwise with emsg set.

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