Hazelcast C++ Client
Hazelcast C++ Client Library
Loading...
Searching...
No Matches
hazelcast::client::security::username_password_credentials Class Reference
Inheritance diagram for hazelcast::client::security::username_password_credentials:

Public Member Functions

 username_password_credentials (const std::string &name, const std::string &password)
const std::string & password () const
credential_type type () const override
Public Member Functions inherited from hazelcast::client::security::credentials
 credentials (const std::string &name)
const std::string & name () const

Additional Inherited Members

Public Types inherited from hazelcast::client::security::credentials
enum  credential_type { username_password , token }

Detailed Description

Definition at line 76 of file client_config.h.

Constructor & Destructor Documentation

◆ username_password_credentials()

hazelcast::client::security::username_password_credentials::username_password_credentials ( const std::string & name,
const std::string & password )

Definition at line 1391 of file config.cpp.

1394 : credentials(name)
1395 , password_(password)
1396{}

Member Function Documentation

◆ password()

const std::string & hazelcast::client::security::username_password_credentials::password ( ) const

Definition at line 1399 of file config.cpp.

1400{
1401 return password_;
1402}

◆ type()

credentials::credential_type hazelcast::client::security::username_password_credentials::type ( ) const
overridevirtual

Implements hazelcast::client::security::credentials.

Definition at line 1405 of file config.cpp.

1406{
1407 return credentials::credential_type::username_password;
1408}

The documentation for this class was generated from the following files: