mirror of
https://github.com/tribufu/sdk-cpp
synced 2025-06-15 20:24:19 +00:00
* New api from upstream * Create .clang-format * Update .clang-format * Remove mintaka submodule * Add premake-core submodule * Update premake-core * Fix includes
25 lines
640 B
C++
25 lines
640 B
C++
// Copyright (c) Tribufu. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include <tribufu/prelude.h>
|
|
|
|
namespace tribufu
|
|
{
|
|
class TRIBUFU_API TribufuApiOptions
|
|
{
|
|
public:
|
|
std::string api_key;
|
|
std::string access_token;
|
|
std::string refresh_token;
|
|
float expires_in;
|
|
|
|
public:
|
|
TribufuApiOptions();
|
|
TribufuApiOptions(std::string api_key);
|
|
TribufuApiOptions(std::string access_token, std::string refresh_token, float expires_in);
|
|
TribufuApiOptions(std::string api_key, std::string access_token, std::string refresh_token, float expires_in);
|
|
~TribufuApiOptions();
|
|
};
|
|
}
|