|
XRootD
|
#include <XrdSciTokensHelper.hh>
Inheritance diagram for XrdSciTokensHelper:
Collaboration diagram for XrdSciTokensHelper:Classes | |
| struct | ValidIssuer |
Public Types | |
| typedef std::vector< ValidIssuer > | Issuers |
Public Member Functions | |
| XrdSciTokensHelper () | |
| Constructor and Destructor. | |
| 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.
Collaboration diagram for XrdSciTokensHelper::ValidIssuer:| 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 Macaroons::Authz, and XrdAccSciTokens.
|
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.
References emsg().
Here is the call graph for this function: