The Battle for Wesnoth  1.19.0+dev
Public Member Functions | Public Attributes | List of all members
login_info Struct Reference

Public Member Functions

 login_info (const std::string &username, const std::string &server, const secure_buffer &key)
 
 login_info (const std::string &username, const std::string &server)
 
std::size_t size () const
 

Public Attributes

std::string username
 
std::string server
 
secure_buffer key
 

Detailed Description

Definition at line 56 of file credentials.cpp.

Constructor & Destructor Documentation

◆ login_info() [1/2]

login_info::login_info ( const std::string &  username,
const std::string &  server,
const secure_buffer key 
)
inline

Definition at line 60 of file credentials.cpp.

◆ login_info() [2/2]

login_info::login_info ( const std::string &  username,
const std::string &  server 
)
inline

Definition at line 63 of file credentials.cpp.

Member Function Documentation

◆ size()

std::size_t login_info::size ( ) const
inline

Definition at line 66 of file credentials.cpp.

References key, server, and username.

Member Data Documentation

◆ key

secure_buffer login_info::key

Definition at line 59 of file credentials.cpp.

Referenced by preferences::password(), preferences::set_password(), and size().

◆ server

std::string login_info::server

Definition at line 58 of file credentials.cpp.

Referenced by size().

◆ username

std::string login_info::username

Definition at line 58 of file credentials.cpp.

Referenced by size().


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