123456789101112131415161718192021222324252627282930313233343536 |
- /*
- * @Description:
- * @Version: 1.0
- * @Autor: lishengyin
- * @Date: 2021-11-04 09:39:46
- * @LastEditors: lishengyin
- * @LastEditTime: 2021-11-24 16:08:22
- */
- #include <iostream>
- using namespace std;
- #include <rapidjson/document.h>
- #include <rapidjson/rapidjson.h>
- #include <rapidjson/stringbuffer.h>
- #include <rapidjson/writer.h>
- class NettyHttpToken
- {
- public:
- std::string authToken = "";
- std::string expiration = "";
- std::string refreshToken = "";
- public:
- NettyHttpToken() {}
- ~NettyHttpToken() {}
-
- /**
- * @description: json反序列为对象
- * @param {*}
- * @return {*}
- */
- bool jsonToObject(const rapidjson::Value& object);
- };
|