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
dcn::auth::AuthError Struct Reference

#include <auth.hpp>

Public Types

enum class  Kind : std::uint8_t {
  UNKNOWN = 0 , MISSING_TOKEN , INVALID_TOKEN , INVALID_SIGNATURE ,
  INVALID_NONCE , INVALID_ADDRESS
}
 

Public Attributes

enum dcn::auth::AuthError::Kind kind = Kind::UNKNOWN
 
std::string message = ""
 

Member Enumeration Documentation

◆ Kind

enum class dcn::auth::AuthError::Kind : std::uint8_t
strong
Enumerator
UNKNOWN 
MISSING_TOKEN 
INVALID_TOKEN 
INVALID_SIGNATURE 
INVALID_NONCE 
INVALID_ADDRESS 

Member Data Documentation

◆ kind

enum dcn::auth::AuthError::Kind dcn::auth::AuthError::kind = Kind::UNKNOWN

◆ message

std::string dcn::auth::AuthError::message = ""

The documentation for this struct was generated from the following file: