![]() |
XRootD
|
#include <XrdSciTokensHelper.hh>
Classes | |
struct | ValidIssuer |
Public Types | |
typedef std::vector< ValidIssuer > | Issuers |
Public Member Functions | |
XrdSciTokensHelper () | |
Constructor and Destructor. More... | |
virtual | ~XrdSciTokensHelper () |
virtual Issuers | IssuerList ()=0 |
virtual bool | Validate (const char *token, std::string &emsg, long long *expT=0, XrdSecEntity *entP=0)=0 |
Definition at line 22 of file XrdSciTokensHelper.hh.
struct XrdSciTokensHelper::ValidIssuer |
Get the list of valid issuers.
Definition at line 35 of file XrdSciTokensHelper.hh.
Class Members | ||
---|---|---|
string | issuer_name | |
string | issuer_url |
typedef std::vector<ValidIssuer> XrdSciTokensHelper::Issuers |
Definition at line 39 of file XrdSciTokensHelper.hh.
|
inline |
|
inlinevirtual |
Definition at line 68 of file XrdSciTokensHelper.hh.
|
pure virtual |
Implemented in XrdAccSciTokens, and Macaroons::Authz.
|
pure virtual |
Validate a scitoken.
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(). |
Implemented in Macaroons::Authz, and XrdAccSciTokens.
Referenced by XrdSecProtocolztn::Authenticate().