5#include "../security/secure_string.h"
6#include "../core_export.h"
63 xtd::
string password() const noexcept;
70 const
xtd::security::secure_string& secure_password() const noexcept;
77 const
xtd::
string& user_name() const noexcept;
84 xtd::
string user_name_;
85 xtd::security::secure_string password_;
Represents text as a sequence of character units.
Definition basic_string.h:79
Provides credentials for password-based authentication schemes such as basic, digest,...
Definition network_credential.h:26
network_credential()=default
Initializes a new instance of the xtd::net::network_credential class.
network_credential(const xtd::string &user_name, const xtd::security::secure_string &password, const xtd::string &domain)
Initializes a new instance of the xtd::net::network_credential class with the specified user name,...
network_credential(const xtd::string &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::string &user_name, const xtd::string &password, const xtd::string &domain)
Initializes a new instance of the xtd::net::network_credential class with the specified user name,...
network_credential(const xtd::string &user_name, const xtd::string &password)
Initializes a new instance of the xtd::net::network_credential class with the specified user name and...
const xtd::string & domain() const noexcept
Gets the domain or computer name that verifies the credentials.
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.h:42
Represents text that should be kept confidential, such as by deleting it from computer memory when no...
Definition secure_string.h:22
#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 xtd_about_box.h:10