CernVM-FS  2.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AuthzData Struct Reference

#include <authz.h>

Collaboration diagram for AuthzData:

Public Member Functions

 AuthzData ()
 
bool IsGranted (const std::string &expected_membership) const
 

Public Attributes

AuthzToken token
 
uint64_t deadline
 
std::string membership
 
AuthzStatus status
 

Detailed Description

The credentials together with the membership string it was verified for. Entries expire. Negative credential verification can be representated, too, with status != kAuthzOk.

Definition at line 53 of file authz.h.

Constructor & Destructor Documentation

AuthzData::AuthzData ( )
inline

Definition at line 54 of file authz.h.

Member Function Documentation

bool AuthzData::IsGranted ( const std::string &  expected_membership) const
inline

The verification of the deadline is not included.

Definition at line 58 of file authz.h.

Referenced by AuthzSessionManager::LookupAuthzData().

Here is the caller graph for this function:

Member Data Documentation

uint64_t AuthzData::deadline

Definition at line 62 of file authz.h.

Referenced by AuthzSessionManager::LookupAuthzData().

std::string AuthzData::membership

Definition at line 63 of file authz.h.

Referenced by IsGranted(), and AuthzSessionManager::LookupAuthzData().

AuthzStatus AuthzData::status

Definition at line 64 of file authz.h.

Referenced by IsGranted(), and AuthzSessionManager::LookupAuthzData().

AuthzToken AuthzData::token

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