SkyWay Linux SDK
読み取り中…
検索中…
一致する文字列を見つけられません
auth_token_builder.hpp
1
#ifndef SKYWAY_GLOBAL_UTIL_AUTH_TOKEN_BUILDER_HPP_
2
#define SKYWAY_GLOBAL_UTIL_AUTH_TOKEN_BUILDER_HPP_
3
4
#include <json.hpp>
5
#include <string>
6
7
namespace
skyway {
8
namespace
global {
9
namespace
util {
10
12
class
AuthTokenBuilder {
13
public
:
14
const
static
std::string Create(
const
std::string app_id,
const
std::string secret_key);
15
16
private
:
17
const
static
std::string EncodeBase64Url(
const
std::string& token);
18
const
static
std::string BuildSHA256(
const
std::string& key,
const
std::string& data);
19
};
21
22
}
// namespace util
23
}
// namespace global
24
}
// namespace skyway
25
#endif
// SKYWAY_GLOBAL_UTIL_AUTH_TOKEN_BUILDER_HPP_
include
skyway
global
util
auth_token_builder.hpp
構築:
1.9.8