libzypp 17.31.7
zypp::media::AuthenticationReport Struct Reference

#include <ZYppCallbacks.h>

Inheritance diagram for zypp::media::AuthenticationReport:

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 void report (const UserData &userData_r=UserData())
 The most generic way of sending/receiving data. More...
virtual ~ReportBase ()

Additional Inherited Members

- Public Types inherited from zypp::callback::ReportBase
typedef callback::UserData UserData
typedef UserData::ContentType ContentType

Detailed Description

Definition at line 400 of file ZYppCallbacks.h.

Member Function Documentation

◆ prompt()

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

Prompt for authentication data.

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, password or other special data (derived AuthData objects).
true if user chooses to continue with authentication, false otherwise

Definition at line 416 of file ZYppCallbacks.h.

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