1
// $OpenLDAP: pkg/ldap/contrib/ldapc++/src/SaslInteraction.h,v 1.1.2.2 2008/04/14 23:09:26 quanah Exp $
3
* Copyright 2007, 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 */