2 * Copyright 2007, OpenLDAP Foundation, All Rights Reserved.
3 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
6 #ifndef SASL_INTERACTION_H
7 #define SASL_INTERACTION_H
10 #include <sasl/sasl.h>
12 class SaslInteraction {
14 SaslInteraction( sasl_interact_t *interact );
16 unsigned long getId() const;
17 const std::string getPrompt() const;
18 const std::string getChallenge() const;
19 const std::string getDefaultResult() const;
21 void setResult(const std::string &res);
24 sasl_interact_t *m_interact;
28 #endif /* SASL_INTERACTION_H */