libzypp
13.10.6
|
#include <CredentialFileReader.h>
Public Types | |
typedef function< bool(AuthData_Ptr &)> | ProcessCredentials |
Callback definition. More... | |
Public Member Functions | |
CredentialFileReader (const Pathname &crfile, const ProcessCredentials &callback) | |
~CredentialFileReader () | |
Private Attributes | |
ProcessCredentials | _callback |
Definition at line 33 of file CredentialFileReader.h.
typedef function<bool(AuthData_Ptr &)> zypp::media::CredentialFileReader::ProcessCredentials |
Callback definition.
First parameter is the Url with which the credentials are associated, the second are the credentials.
Return false from the callback to get a AbortRequestException to be thrown and the processing to be cancelled.
Definition at line 44 of file CredentialFileReader.h.
zypp::media::CredentialFileReader::CredentialFileReader | ( | const Pathname & | crfile, |
const ProcessCredentials & | callback | ||
) |
Definition at line 40 of file CredentialFileReader.cc.
zypp::media::CredentialFileReader::~CredentialFileReader | ( | ) |
Definition at line 90 of file CredentialFileReader.cc.
|
private |
Definition at line 50 of file CredentialFileReader.h.