13#ifndef ZYPP_ZYPP_DETAIL_URLCREDENTIALEXTRACTOR_P_H 
   14#define ZYPP_ZYPP_DETAIL_URLCREDENTIALEXTRACTOR_P_H 
   64        _cmPtr->addUserCred( url_r );
 
 
   76    template<
class TContainer>
 
   78    {   
bool ret = 
false; 
for ( 
const Url & 
url : urls_r ) { 
if ( 
collect( 
url ) && !ret ) ret = 
true; } 
return ret; }
 
 
   89    template<
class TContainer>
 
   91    {   
bool ret = 
false; 
for ( 
Url & 
url : urls_r ) { 
if ( 
extract( 
url ) && !ret ) ret = 
true; } 
return ret; }
 
 
 
Represents a single, configurable network endpoint, combining a URL with specific access settings.
const zypp::Url & url() const
void setPassword(const std::string &pass, EEncoding eflag=zypp::url::E_DECODED)
Set the password in the URL authority.
bool hasCredentialsInAuthority() const
Returns true if username and password are encoded in the authority component.
Easy-to use interface to the ZYPP dependency resolver.