3 * Copyright 2007-2014 The OpenLDAP Foundation, All Rights Reserved.
4 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
7 #ifndef SASL_INTERACTION_H
8 #define SASL_INTERACTION_H
11 #include <sasl/sasl.h>
13 class SaslInteraction {
15 SaslInteraction( sasl_interact_t *interact );
17 unsigned long getId() const;
18 const std::string getPrompt() const;
19 const std::string getChallenge() const;
20 const std::string getDefaultResult() const;
22 void setResult(const std::string &res);
25 sasl_interact_t *m_interact;
29 #endif /* SASL_INTERACTION_H */