#include <random>
#include <string>
#include <expected>
#include <format>
#include <regex>
#include <optional>
#include "native.h"
#include <asio.hpp>
#include <asio/experimental/awaitable_operators.hpp>
#include <absl/container/flat_hash_map.h>
#include <spdlog/spdlog.h>
#include <secp256k1.h>
#include <secp256k1_recovery.h>
#include <jwt-cpp/jwt.h>
#include <evmc/evmc.hpp>
#include "utils.hpp"
#include "keccak256.hpp"
Go to the source code of this file.
Classes | |
class | dcn::AuthManager |
struct | std::formatter< dcn::AuthenticationError > |
Namespaces | |
namespace | dcn |
namespace | dcn::parse |
Macros | |
#define | interface __STRUCT__ |
Enumerations | |
enum class | dcn::AuthenticationError : std::uint8_t { dcn::Unknown = 0 , dcn::MissingCookie , dcn::InvalidCookie , dcn::MissingToken , dcn::InvalidToken , dcn::InvalidSignature , dcn::InvalidNonce , dcn::InvalidAddress } |
Functions | |
std::string | dcn::parse::parseNonceFromMessage (const std::string &msg) |
std::optional< std::string > | dcn::parse::parseAccessTokenFromCookieHeader (const std::string &cookie_str) |
std::string | dcn::parse::parseAccessTokenToCookieHeader (const std::string &token_str) |
std::optional< std::string > | dcn::parse::parseRefreshTokenFromCookieHeader (const std::string &cookie_str) |
std::string | dcn::parse::parseRefreshTokenToCookieHeader (const std::string &token_str) |
#define interface __STRUCT__ |