12 #ifndef ZYPP_MEDIA_USER_AUTH_H 13 #define ZYPP_MEDIA_USER_AUTH_H 49 virtual bool valid()
const;
59 virtual std::ostream &
dumpOn( std::ostream &
str )
const;
61 virtual std::ostream &
dumpAsIniOn( std::ostream & str )
const;
85 :
AuthData(username,password), _auth_type_str(auth_type)
87 _auth_type = auth_type_str2long(auth_type);
91 :
AuthData(username,password), _auth_type(auth_type)
93 _auth_type_str = auth_type_long2str(auth_type);
101 virtual bool valid()
const;
109 _auth_type_str = auth_type; _auth_type = auth_type_str2long(auth_type);
119 _auth_type = auth_type;
120 _auth_type_str = auth_type_long2str(auth_type);
138 static long auth_type_str2long(std::string & auth_type_str);
144 static std::string auth_type_long2str(
long auth_type);
146 virtual std::ostream &
dumpOn( std::ostream &
str )
const;
163 #endif // ZYPP_MEDIA_USER_AUTH_H
String related utilities and Regular expression matching.
Provides API related macros.
Easy-to use interface to the ZYPP dependency resolver.