12#ifndef ZYPP_CURL_AUTH_CURLAUTHDATA_H_INCLUDED
13#define ZYPP_CURL_AUTH_CURLAUTHDATA_H_INCLUDED
15#include <zypp-media/auth/AuthData>
35 _auth_type = auth_type_str2long(
auth_type);
41 _auth_type_str = auth_type_long2str(
auth_type);
49 bool valid()
const override;
68 _auth_type_str = auth_type_long2str(
auth_type);
74 std::string
getUserPwd()
const {
return username() +
":" + password(); }
86 static long auth_type_str2long( std::string &
auth_type_str );
87 static long auth_type_str2long(
const std::string &
auth_type_str );
93 static std::string auth_type_long2str(
long auth_type);
95 std::ostream &
dumpOn( std::ostream &
str )
const override;
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
String related utilities and Regular expression matching.
Easy-to use interface to the ZYPP dependency resolver.
std::ostream & dumpOn(std::ostream &str, const Capability &obj)
const Arch Arch_armv7hnl Arch_armv7nhl ZYPP_API