5 #ifndef CVMFS_RECEIVER_SESSION_TOKEN_H_
6 #define CVMFS_RECEIVER_SESSION_TOKEN_H_
16 uint64_t max_lease_time, std::string* session_token,
17 std::string* public_token_id,
18 std::string* token_secret);
23 std::string* lease_path);
27 #endif // CVMFS_RECEIVER_SESSION_TOKEN_H_
bool 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 GetTokenPublicId(const std::string &token, std::string *public_id)
TokenCheckResult CheckToken(const std::string &token, const std::string &secret, std::string *lease_path)