7 #include "../core_export.h"
10 #include "../ustring.h"
11 #include "../security/secure_string.h"
40 friend std::ostream& operator <<(std::ostream& os,
const network_credential& host_entry) noexcept {
return os << host_entry.
to_string();}
61 const
xtd::security::secure_string& secure_password() const noexcept;
75 xtd::security::secure_string password_;
Provides credentials for password-based authentication schemes such as basic, digest,...
Definition: network_credential.h:23
network_credential()=default
Initializes a new instance of the xtd::net::network_credential class.
network_credential(const xtd::ustring &user_name, const xtd::security::secure_string &password)
Initializes a new instance of the xtd::net::network_credential class with the specified user name and...
network_credential(const xtd::ustring &user_name, const xtd::ustring &password)
Initializes a new instance of the xtd::net::network_credential class with the specified user name and...
network_credential(const xtd::ustring &user_name, const xtd::ustring &password, const xtd::ustring &domain)
Initializes a new instance of the xtd::net::network_credential class with the specified user name,...
const xtd::ustring & domain() const noexcept
Gets the domain or computer name that verifies the credentials.
network_credential(const xtd::ustring &user_name, const xtd::security::secure_string &password, const xtd::ustring &domain)
Initializes a new instance of the xtd::net::network_credential class with the specified user name,...
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition: object.h:26
virtual xtd::ustring to_string() const noexcept
Returns a std::string that represents the current object.
Represents text that should be kept confidential, such as by deleting it from computer memory when no...
Definition: secure_string.h:18
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:48
#define core_export_
Define shared library export.
Definition: core_export.h:13
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17