mirror of
https://github.com/m5stack/StackChan.git
synced 2026-04-28 03:22:39 +00:00
26 lines
478 B
C++
26 lines
478 B
C++
/*
|
|
* SPDX-FileCopyrightText: 2026 M5Stack Technology CO LTD
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
#include "secret_logic.h"
|
|
|
|
namespace secret_logic {
|
|
|
|
__attribute__((weak)) std::string get_server_url()
|
|
{
|
|
return "http://localhost:3000";
|
|
}
|
|
|
|
__attribute__((weak)) std::string generate_auth_token()
|
|
{
|
|
return "hi-stack-chan";
|
|
}
|
|
|
|
__attribute__((weak)) std::string generate_handshake_token(std::string_view data)
|
|
{
|
|
return "hi-stack-chan";
|
|
}
|
|
|
|
} // namespace secret_logic
|