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