Horizon Official Technical Documentation
Horizon::Auth::auth_config_type Struct Reference

Main Auth Server Singleton Class. More...

#include <Auth.hpp>

Classes

struct  char_server
 

Public Member Functions

void add_char_server (char_server c)
 
std::vector< char_server > & get_char_servers ()
 
int max_network_threads ()
 
void set_max_network_threads (int threads)
 
int session_max_timeout ()
 
void set_session_max_timeout (int timeout)
 

Public Attributes

std::string _password_salt_mix
 
std::vector< char_server_char_servers
 
int _max_network_threads {1}
 
int _session_max_timeout {60}
 

Detailed Description

Main Auth Server Singleton Class.

Member Function Documentation

◆ add_char_server()

void Horizon::Auth::auth_config_type::add_char_server ( char_server  c)
inline
53{ _char_servers.push_back(c); }
std::vector< char_server > _char_servers
Definition: Auth.hpp:62

References _char_servers.

Referenced by Horizon::Auth::AuthServer::read_config().

+ Here is the caller graph for this function:

◆ get_char_servers()

std::vector< char_server > & Horizon::Auth::auth_config_type::get_char_servers ( )
inline
54{ return _char_servers; }

References _char_servers.

Referenced by Horizon::Auth::AuthServer::read_config().

+ Here is the caller graph for this function:

◆ max_network_threads()

int Horizon::Auth::auth_config_type::max_network_threads ( )
inline
56{ return _max_network_threads; }
int _max_network_threads
Definition: Auth.hpp:63

References _max_network_threads.

Referenced by Horizon::Auth::AuthServer::read_config().

+ Here is the caller graph for this function:

◆ session_max_timeout()

int Horizon::Auth::auth_config_type::session_max_timeout ( )
inline
59{ return _session_max_timeout; }
int _session_max_timeout
Definition: Auth.hpp:64

References _session_max_timeout.

Referenced by Horizon::Auth::AuthServer::read_config().

+ Here is the caller graph for this function:

◆ set_max_network_threads()

void Horizon::Auth::auth_config_type::set_max_network_threads ( int  threads)
inline
57{ _max_network_threads = threads; }

References _max_network_threads.

Referenced by Horizon::Auth::AuthServer::read_config().

+ Here is the caller graph for this function:

◆ set_session_max_timeout()

void Horizon::Auth::auth_config_type::set_session_max_timeout ( int  timeout)
inline
60{ _session_max_timeout = timeout; }

References _session_max_timeout.

Referenced by Horizon::Auth::AuthServer::read_config().

+ Here is the caller graph for this function:

Member Data Documentation

◆ _char_servers

std::vector<char_server> Horizon::Auth::auth_config_type::_char_servers

◆ _max_network_threads

int Horizon::Auth::auth_config_type::_max_network_threads {1}

◆ _password_salt_mix

std::string Horizon::Auth::auth_config_type::_password_salt_mix

◆ _session_max_timeout

int Horizon::Auth::auth_config_type::_session_max_timeout {60}

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