#include <context_listener.hpp>
|
virtual bool | contextGetLogin (const std::string &realm, std::string &username, std::string &password, bool &maySave)=0 |
|
virtual void | contextNotify (const char *path, svn_wc_notify_action_t action, svn_node_kind_t kind, const char *mime_type, svn_wc_notify_state_t content_state, svn_wc_notify_state_t prop_state, svn_revnum_t revision, const char *detail)=0 |
|
virtual bool | contextCancel ()=0 |
|
virtual bool | contextGetLogMessage (std::string &msg)=0 |
|
virtual SslServerTrustAnswer | contextSslServerTrustPrompt (const SslServerTrustData &data, apr_uint32_t &acceptedFailures)=0 |
|
virtual bool | contextSslClientCertPrompt (std::string &certFile)=0 |
|
virtual bool | contextSslClientCertPwPrompt (std::string &password, const std::string &realm, bool &maySave)=0 |
|
virtual | ~ContextListener () |
|
This is the interface that is used by Context for callbacks. To use this you will have to inherit from this interface and overwrite the virtual methods.
◆ SslServerTrustAnswer
Enumerator |
---|
DONT_ACCEPT | |
ACCEPT_TEMPORARILY | |
ACCEPT_PERMANENTLY | |
◆ ~ContextListener()
virtual svn::ContextListener::~ContextListener |
( |
| ) |
|
|
inlinevirtual |
◆ contextCancel()
virtual bool svn::ContextListener::contextCancel |
( |
| ) |
|
|
pure virtual |
◆ contextGetLogin()
virtual bool svn::ContextListener::contextGetLogin |
( |
const std::string & | realm, |
|
|
std::string & | username, |
|
|
std::string & | password, |
|
|
bool & | maySave ) |
|
pure virtual |
this method will be called to retrieve authentication information
WORKAROUND FOR apr_xlate PROBLEM: STRINGS ALREADY HAVE TO BE UTF8!!!
- Parameters
-
username | |
realm | in which username/password will be used |
password | |
maySave | in/out set false to not save |
- Returns
- continue action?
- Return values
-
◆ contextGetLogMessage()
virtual bool svn::ContextListener::contextGetLogMessage |
( |
std::string & | msg | ) |
|
|
pure virtual |
this method will be called to retrieve a log message
WORKAROUND FOR apr_xlate PROBLEM: STRINGS ALREADY HAVE TO BE UTF8!!!
- Parameters
-
- Returns
- continue action?
- Return values
-
◆ contextNotify()
virtual void svn::ContextListener::contextNotify |
( |
const char * | path, |
|
|
svn_wc_notify_action_t | action, |
|
|
svn_node_kind_t | kind, |
|
|
const char * | mime_type, |
|
|
svn_wc_notify_state_t | content_state, |
|
|
svn_wc_notify_state_t | prop_state, |
|
|
svn_revnum_t | revision, |
|
|
const char * | detail ) |
|
pure virtual |
this method will be called to notify about the progress of an ongoing action
- Parameters
-
path | |
action | |
kind | |
mime_type | |
content_state | |
prop_state | |
revision | |
◆ contextSslClientCertPrompt()
virtual bool svn::ContextListener::contextSslClientCertPrompt |
( |
std::string & | certFile | ) |
|
|
pure virtual |
this method is called to retrieve client side information
◆ contextSslClientCertPwPrompt()
virtual bool svn::ContextListener::contextSslClientCertPwPrompt |
( |
std::string & | password, |
|
|
const std::string & | realm, |
|
|
bool & | maySave ) |
|
pure virtual |
this method is called to retrieve the password for the client certificate
- Parameters
-
◆ contextSslServerTrustPrompt()
this method is called if there is ssl server information, that has to be confirmed by the user
- Parameters
-
- Returns
- SslServerTrustAnswer
The documentation for this class was generated from the following file: