libzypp  17.14.0
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 399 of file ZYppCallbacks.h.

Member Function Documentation

◆ prompt()

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 415 of file ZYppCallbacks.h.


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