#include <XrdMacaroonsHandler.hh>
◆ AuthzBehavior
Enumerator |
---|
PASSTHROUGH | |
ALLOW | |
DENY | |
◆ Handler()
◆ ~Handler()
virtual Macaroons::Handler::~Handler |
( |
| ) |
|
|
virtual |
◆ Config()
static bool Macaroons::Handler::Config |
( |
const char * |
config, |
|
|
XrdOucEnv * |
env, |
|
|
XrdSysError * |
log, |
|
|
std::string & |
location, |
|
|
std::string & |
secret, |
|
|
ssize_t & |
max_duration, |
|
|
AuthzBehavior & |
behavior |
|
) |
| |
|
static |
◆ GenerateActivities()
std::string Macaroons::Handler::GenerateActivities |
( |
const XrdHttpExtReq & |
, |
|
|
const std::string & |
|
|
) |
| const |
|
private |
◆ GenerateID()
std::string Macaroons::Handler::GenerateID |
( |
const std::string & |
, |
|
|
const XrdSecEntity & |
, |
|
|
const std::string & |
, |
|
|
const std::vector< std::string > & |
, |
|
|
const std::string & |
|
|
) |
| |
|
private |
◆ GenerateMacaroonResponse()
int Macaroons::Handler::GenerateMacaroonResponse |
( |
XrdHttpExtReq & |
req, |
|
|
const std::string & |
response, |
|
|
const std::vector< std::string > & |
, |
|
|
ssize_t |
validity, |
|
|
bool |
oauth_response |
|
) |
| |
|
private |
◆ Init()
virtual int Macaroons::Handler::Init |
( |
const char * |
cfgfile | ) |
|
|
inlineoverridevirtual |
◆ MatchesPath()
virtual bool Macaroons::Handler::MatchesPath |
( |
const char * |
verb, |
|
|
const char * |
path |
|
) |
| |
|
overridevirtual |
Tells if the incoming path is recognized as one of the paths that have to be processed.
Implements XrdHttpExtHandler.
◆ ProcessOAuthConfig()
int Macaroons::Handler::ProcessOAuthConfig |
( |
XrdHttpExtReq & |
req | ) |
|
|
private |
◆ ProcessReq()
◆ ProcessTokenRequest()
int Macaroons::Handler::ProcessTokenRequest |
( |
XrdHttpExtReq & |
req | ) |
|
|
private |
◆ xmaxduration()
◆ xsecretkey()
◆ xsitename()
◆ xtrace()
◆ m_chain
◆ m_location
std::string Macaroons::Handler::m_location |
|
private |
◆ m_log
◆ m_max_duration
ssize_t Macaroons::Handler::m_max_duration |
|
private |
◆ m_secret
std::string Macaroons::Handler::m_secret |
|
private |
The documentation for this class was generated from the following file: