libzypp 17.34.1
|
Extract credentials in Url authority and store them via CredentialManager. More...
#include <zypp/zypp_detail/urlcredentialextractor_p.h>
Public Member Functions | |
UrlCredentialExtractor (Pathname &root_r) | |
~UrlCredentialExtractor () | |
bool | collect (const Url &url_r) |
Remember credentials stored in URL authority leaving the password in url_r. | |
template<class TContainer > | |
bool | collect (const TContainer &urls_r) |
bool | extract (Url &url_r) |
Remember credentials stored in URL authority stripping the passowrd from url_r. | |
template<class TContainer > | |
bool | extract (TContainer &urls_r) |
Private Attributes | |
const Pathname & | _root |
scoped_ptr< media::CredentialManager > | _cmPtr |
Extract credentials in Url authority and store them via CredentialManager.
Lazy init CredentialManager and save collected credentials when going out of scope.
Methods return whether a password has been collected/extracted.
Definition at line 42 of file urlcredentialextractor_p.h.
|
inline |
Definition at line 45 of file urlcredentialextractor_p.h.
|
inline |
Definition at line 49 of file urlcredentialextractor_p.h.
Remember credentials stored in URL authority leaving the password in url_r.
Definition at line 53 of file urlcredentialextractor_p.h.
|
inline |
Definition at line 65 of file urlcredentialextractor_p.h.
Remember credentials stored in URL authority stripping the passowrd from url_r.
Definition at line 69 of file urlcredentialextractor_p.h.
|
inline |
Definition at line 78 of file urlcredentialextractor_p.h.
|
private |
Definition at line 82 of file urlcredentialextractor_p.h.
|
private |
Definition at line 83 of file urlcredentialextractor_p.h.