xrootd
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | List of all members
XrdSciTokensHelper Class Referenceabstract

#include <XrdSciTokensHelper.hh>

Inheritance diagram for XrdSciTokensHelper:
Inheritance graph
[legend]

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.
 
virtual ~XrdSciTokensHelper ()
 

Member Typedef Documentation

◆ Issuers

Constructor & Destructor Documentation

◆ XrdSciTokensHelper()

XrdSciTokensHelper::XrdSciTokensHelper ( )
inline

Constructor and Destructor.

◆ ~XrdSciTokensHelper()

virtual XrdSciTokensHelper::~XrdSciTokensHelper ( )
inlinevirtual

Member Function Documentation

◆ IssuerList()

virtual Issuers XrdSciTokensHelper::IssuerList ( )
pure virtual

Implemented in Macaroons::Authz.

◆ Validate()

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.

Implemented in Macaroons::Authz.


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