libzypp  17.14.0
zypp::media::CredentialFileReader Class Reference

Parse credentials files and catalogs. More...

#include <CredentialFileReader.h>

Public Types

typedef function< bool(AuthData_Ptr &)> ProcessCredentials
 Callback invoked for each entry found in the file. More...
 

Public Member Functions

 CredentialFileReader (const Pathname &crfile_r, const ProcessCredentials &callback_r)
 
 ~CredentialFileReader ()
 

Private Attributes

ProcessCredentials _callback
 

Detailed Description

Parse credentials files and catalogs.

Definition at line 30 of file CredentialFileReader.h.

Member Typedef Documentation

◆ ProcessCredentials

Callback invoked for each entry found in the file.

Return false to abort parsing.

Definition at line 36 of file CredentialFileReader.h.

Constructor & Destructor Documentation

◆ CredentialFileReader()

zypp::media::CredentialFileReader::CredentialFileReader ( const Pathname crfile_r,
const ProcessCredentials callback_r 
)

Definition at line 134 of file CredentialFileReader.cc.

◆ ~CredentialFileReader()

zypp::media::CredentialFileReader::~CredentialFileReader ( )

Definition at line 137 of file CredentialFileReader.cc.

Member Data Documentation

◆ _callback

ProcessCredentials zypp::media::CredentialFileReader::_callback
private

Definition at line 41 of file CredentialFileReader.h.


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