#include <rpl_channel_credentials.h>
◆ channel_credential_pair
◆ Rpl_channel_credentials()
Rpl_channel_credentials::Rpl_channel_credentials |
( |
| ) |
|
|
privatedefault |
◆ ~Rpl_channel_credentials()
virtual Rpl_channel_credentials::~Rpl_channel_credentials |
( |
| ) |
|
|
privatevirtualdefault |
◆ delete_credentials()
int Rpl_channel_credentials::delete_credentials |
( |
const char * |
channel_name | ) |
|
Method to delete channel credentials.
- Parameters
-
[in] | channel_name | The channel. |
- Returns
- the operation status
- Return values
-
0 | OK |
1 | Credentials do not exist. |
◆ get_credentials()
Method to get channel credentials.
- Parameters
-
[in] | channel_name | The channel. |
[out] | user | Username of channel. |
[out] | pass | Password of channel. |
[out] | auth | Authentication plugin. |
- Returns
- the operation status
- Return values
-
0 | OK |
1 | Credentials do not exist. |
◆ get_instance()
Returns object.
- Returns
- instance
◆ number_of_channels()
int Rpl_channel_credentials::number_of_channels |
( |
| ) |
|
Number of channels stored.
- Returns
- number of channels
◆ reset()
void Rpl_channel_credentials::reset |
( |
void |
| ) |
|
Delete all stored credentials and delete instance.
◆ store_credentials()
int Rpl_channel_credentials::store_credentials |
( |
const char * |
channel_name, |
|
|
char * |
username, |
|
|
char * |
password, |
|
|
char * |
plugin_auth |
|
) |
| |
Method to store credentials in map.
- Parameters
-
[in] | channel_name | The channel name to store. |
[in] | username | Username for channel. |
[in] | password | Password for channel. |
[in] | plugin_auth | Authentication plugin. |
- Returns
- the operation status
- Return values
-
0 | OK |
1 | Error, credentials already exists |
◆ m_credential_set
The documentation for this class was generated from the following files: