Ring Daemon 16.0.0
Loading...
Searching...
No Matches
jami::ArchiveAccountManager::DeviceAuthInfo Struct Reference
Inheritance diagram for jami::ArchiveAccountManager::DeviceAuthInfo:
Inheritance graph
Collaboration diagram for jami::ArchiveAccountManager::DeviceAuthInfo:
Collaboration graph

Public Types

enum class  Error {
  NETWORK , TIMEOUT , AUTH_ERROR , CANCELED ,
  UNKNOWN , NONE
}
 
using Map = std::map< std::string, std::string >
 

Public Member Functions

 DeviceAuthInfo ()=default
 
 DeviceAuthInfo (const Map &map)
 
 DeviceAuthInfo (Map &&map)
 
void set (std::string_view key, std::string_view value)
 

Static Public Member Functions

static DeviceAuthInfo createError (Error err)
 

Static Public Attributes

static constexpr auto auth_error = "auth_error"sv
 
static constexpr auto auth_scheme = "auth_scheme"sv
 
static constexpr auto error = "error"sv
 
static constexpr auto peer_address = "peer_address"sv
 
static constexpr auto peer_id = "peer_id"sv
 
static constexpr auto token = "token"sv
 

Detailed Description

Definition at line 363 of file archive_account_manager.cpp.

Member Typedef Documentation

◆ Map

using jami::ArchiveAccountManager::DeviceAuthInfo::Map = std::map<std::string, std::string>

Definition at line 376 of file archive_account_manager.cpp.

Member Enumeration Documentation

◆ Error

Enumerator
NETWORK 
TIMEOUT 
AUTH_ERROR 
CANCELED 
UNKNOWN 
NONE 

Definition at line 374 of file archive_account_manager.cpp.

Constructor & Destructor Documentation

◆ DeviceAuthInfo() [1/3]

jami::ArchiveAccountManager::DeviceAuthInfo::DeviceAuthInfo ( )
default

◆ DeviceAuthInfo() [2/3]

jami::ArchiveAccountManager::DeviceAuthInfo::DeviceAuthInfo ( const Map map)
inline

Definition at line 379 of file archive_account_manager.cpp.

◆ DeviceAuthInfo() [3/3]

jami::ArchiveAccountManager::DeviceAuthInfo::DeviceAuthInfo ( Map &&  map)
inline

Definition at line 382 of file archive_account_manager.cpp.

Member Function Documentation

◆ createError()

static DeviceAuthInfo jami::ArchiveAccountManager::DeviceAuthInfo::createError ( Error  err)
inlinestatic

Definition at line 390 of file archive_account_manager.cpp.

◆ set()

void jami::ArchiveAccountManager::DeviceAuthInfo::set ( std::string_view  key,
std::string_view  value 
)
inline

Definition at line 386 of file archive_account_manager.cpp.

Member Data Documentation

◆ auth_error

constexpr auto jami::ArchiveAccountManager::DeviceAuthInfo::auth_error = "auth_error"sv
staticconstexpr

Definition at line 370 of file archive_account_manager.cpp.

◆ auth_scheme

constexpr auto jami::ArchiveAccountManager::DeviceAuthInfo::auth_scheme = "auth_scheme"sv
staticconstexpr

Definition at line 368 of file archive_account_manager.cpp.

◆ error

constexpr auto jami::ArchiveAccountManager::DeviceAuthInfo::error = "error"sv
staticconstexpr

Definition at line 367 of file archive_account_manager.cpp.

◆ peer_address

constexpr auto jami::ArchiveAccountManager::DeviceAuthInfo::peer_address = "peer_address"sv
staticconstexpr

Definition at line 371 of file archive_account_manager.cpp.

◆ peer_id

constexpr auto jami::ArchiveAccountManager::DeviceAuthInfo::peer_id = "peer_id"sv
staticconstexpr

Definition at line 369 of file archive_account_manager.cpp.

◆ token

constexpr auto jami::ArchiveAccountManager::DeviceAuthInfo::token = "token"sv
staticconstexpr

Definition at line 366 of file archive_account_manager.cpp.


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