CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
session_token.cc File Reference
#include "session_token.h"
#include <limits>
#include "crypto/encrypt.h"
#include "json.h"
#include "json_document.h"
#include "util/logging.h"
#include "util/platform.h"
#include "util/pointer.h"
#include "util/string.h"
Include dependency graph for session_token.cc:

Go to the source code of this file.

Namespaces

 receiver
 

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)