Decentralised Art Server
High-performance C++ backend that exposes HTML interface and a secure REST API for managing Performative Transactions entities
 
Loading...
Searching...
No Matches
auth.cpp File Reference
#include "auth.hpp"

Namespaces

namespace  dcn
 
namespace  dcn::parse
 

Functions

std::string dcn::parse::parseNonceFromMessage (const std::string &msg)
 
template<>
std::optional< std::string > dcn::parse::parseAccessTokenFrom< http::Header::Cookie > (const std::string &cookie_str)
 
template<>
std::optional< std::string > dcn::parse::parseAccessTokenFrom< http::Header::Authorization > (const std::string &header_str)
 
template<>
std::string dcn::parse::parseAccessTokenTo< http::Header::SetCookie > (const std::string &token_str)
 
template<>
std::string dcn::parse::parseAccessTokenTo< http::Header::Authorization > (const std::string &token_str)
 
template<>
std::optional< std::string > dcn::parse::parseRefreshTokenFrom< http::Header::Cookie > (const std::string &cookie_str)
 
template<>
std::optional< std::string > dcn::parse::parseRefreshTokenFrom< http::Header::XRefreshToken > (const std::string &header_str)
 
template<>
std::string dcn::parse::parseRefreshTokenTo< http::Header::SetCookie > (const std::string &token_str)
 
template<>
std::string dcn::parse::parseRefreshTokenTo< http::Header::XRefreshToken > (const std::string &token_str)