libzypp  13.10.6
zypp::media::CredentialFileReader Class Reference

#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
 

Detailed Description

Definition at line 33 of file CredentialFileReader.h.

Member Typedef Documentation

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.

Constructor & Destructor Documentation

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.

Member Data Documentation

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

Definition at line 50 of file CredentialFileReader.h.


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