29 const std::shared_ptr<const tenduke::jwt::JWTParserFactory> &newJwtParser,
30 const std::shared_ptr<const tenduke::crypto::KeyFactory> &newKey,
31 const std::shared_ptr<const tenduke::json::JSONParser> &parseJson,
32 const std::shared_ptr<const tenduke::crypto::PublicKey> &tokenVerificationKey
37 std::string
serialize(
const std::vector<tenduke::ee::licensing::Lease> &leases)
const override;
38 std::string
serialize(
const std::map<std::string, tenduke::ee::licensing::Lease> &leases)
const override;
39 std::vector<tenduke::ee::licensing::Lease>
deserialize(
const std::string &serializedLeases)
const override;
42 const std::shared_ptr<const tenduke::jwt::JWTParserFactory> newJWTParser;
43 const std::shared_ptr<const tenduke::crypto::KeyFactory> newKey;
44 const std::shared_ptr<const tenduke::json::JSONParser> parseJSON;
45 const std::shared_ptr<const tenduke::crypto::PublicKey> tokenVerificationKey;