CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
session_token.h File Reference
#include <stdint.h>
#include <string>
Include dependency graph for session_token.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 receiver
 

Enumerations

enum  receiver::TokenCheckResult { receiver::kValid = 0, receiver::kInvalid, receiver::kExpired }
 

Functions

bool receiver::GenerateSessionToken (const std::string &key_id, const std::string &path, uint64_t max_lease_time, std::string *session_token, std::string *public_token_id, std::string *token_secret)
 
bool receiver::GetTokenPublicId (const std::string &token, std::string *public_id)
 
TokenCheckResult receiver::CheckToken (const std::string &token, const std::string &secret, std::string *lease_path)