ldapsdk
0.0.1
Main Page
Classes
Files
File List
File Members
src
SaslInteraction.h
Go to the documentation of this file.
1
// $OpenLDAP$
2
/*
3
* Copyright 2007-2011 The OpenLDAP Foundation, All Rights Reserved.
4
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
5
*/
6
7
#ifndef SASL_INTERACTION_H
8
#define SASL_INTERACTION_H
9
10
#include <string>
11
#include <sasl/sasl.h>
12
13
class
SaslInteraction
{
14
public
:
15
SaslInteraction
( sasl_interact_t *interact );
16
~SaslInteraction
();
17
unsigned
long
getId
()
const
;
18
const
std::string
getPrompt
()
const
;
19
const
std::string
getChallenge
()
const
;
20
const
std::string
getDefaultResult
()
const
;
21
22
void
setResult
(
const
std::string &res);
23
24
private
:
25
sasl_interact_t *m_interact;
26
std::string m_result;
27
28
};
29
#endif
/* SASL_INTERACTION_H */
Generated by
1.8.1