libzypp 17.37.17
|
Extract credentials in Url authority and store them via CredentialManager. More...
#include <zypp/zypp_detail/urlcredentialextractor_p.h>
Public Member Functions | |
UrlCredentialExtractor (const Pathname &root_r) | |
UrlCredentialExtractor (Pathname &root_r) | |
~UrlCredentialExtractor () | |
bool | collect (const Url &url_r) |
Remember credentials stored in URL authority leaving the password in url_r. | |
bool | collect (const OriginEndpoint &url_r) |
Remember credentials stored in OriginEndpoint 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 43 of file urlcredentialextractor_p.h.
|
inline |
Definition at line 46 of file urlcredentialextractor_p.h.
|
inline |
Definition at line 50 of file urlcredentialextractor_p.h.
|
inline |
Definition at line 54 of file urlcredentialextractor_p.h.
Remember credentials stored in URL authority leaving the password in url_r.
Definition at line 58 of file urlcredentialextractor_p.h.
|
inline |
Remember credentials stored in OriginEndpoint authority leaving the password in url_r.
Definition at line 70 of file urlcredentialextractor_p.h.
|
inline |
Definition at line 77 of file urlcredentialextractor_p.h.
Remember credentials stored in URL authority stripping the passowrd from url_r.
Definition at line 81 of file urlcredentialextractor_p.h.
|
inline |
Definition at line 90 of file urlcredentialextractor_p.h.
|
private |
Definition at line 94 of file urlcredentialextractor_p.h.
|
private |
Definition at line 95 of file urlcredentialextractor_p.h.