libzypp  13.10.6
zypp::media::AuthenticationReport Struct Reference

#include <ZYppCallbacks.h>

Inheritance diagram for zypp::media::AuthenticationReport:
zypp::callback::ReportBase

Public Member Functions

virtual bool prompt (const Url &, const std::string &, AuthData &)
 Prompt for authentication data. More...
 
- Public Member Functions inherited from zypp::callback::ReportBase
virtual ~ReportBase ()
 

Detailed Description

Definition at line 370 of file ZYppCallbacks.h.

Member Function Documentation

virtual bool zypp::media::AuthenticationReport::prompt ( const Url ,
const std::string &  ,
AuthData  
)
inlinevirtual

Prompt for authentication data.

Parameters
urlURL which required the authentication
msgprompt text
auth_datainput/output object for handling authentication data. As an input parameter auth_data can be prefilled with username (from previous try) or auth_type (available authentication methods aquired from server (only CurlAuthData)). As an output parameter it serves for sending username, pasword or other special data (derived AuthData objects).
Returns
true if user chooses to continue with authentication, false otherwise

Definition at line 386 of file ZYppCallbacks.h.


The documentation for this struct was generated from the following file: