mirror of
https://github.com/ong19th/Citron.git
synced 2025-12-12 07:37:00 +00:00
Update fmt library to version 11.0.2 and make necessary adjustments: - Replace fmt/format.h includes with fmt/ranges.h - Add const qualifiers to formatter::format functions - Update CMake to require fmt version 11 Additional dependency updates: - Update SDL2 bundled version from 2.28.2 to 2.32.0 - Update catch2 to version 3.8.0 - Update vcpkg baseline to c82f74667287d3dc386bce81e44964370c91a289
26 lines
673 B
C++
26 lines
673 B
C++
// SPDX-FileCopyrightText: Copyright 2018 Citra Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <fmt/ranges.h>
|
|
#include "network/verify_user.h"
|
|
#include "web_service/web_backend.h"
|
|
|
|
namespace WebService {
|
|
|
|
std::string GetPublicKey(const std::string& host);
|
|
|
|
class VerifyUserJWT final : public Network::VerifyUser::Backend {
|
|
public:
|
|
VerifyUserJWT(const std::string& host);
|
|
~VerifyUserJWT() = default;
|
|
|
|
Network::VerifyUser::UserData LoadUserData(const std::string& verify_uid,
|
|
const std::string& token) override;
|
|
|
|
private:
|
|
std::string pub_key;
|
|
};
|
|
|
|
} // namespace WebService
|