2 * Copyright 2007, OpenLDAP Foundation, All Rights Reserved.
3 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
6 #ifndef LDAP_SASL_BIND_RESULT_H
7 #define LDAP_SASL_BIND_RESULT_H
11 #include <LDAPResult.h>
16 * Object of this class are created by the LDAPMsg::create method if
17 * results for an Extended Operation were returned by a LDAP server.
19 class LDAPSaslBindResult : public LDAPResult {
22 * Constructor that creates an LDAPExtResult-object from the C-API
25 LDAPSaslBindResult(const LDAPRequest* req, LDAPMessage* msg);
30 virtual ~LDAPSaslBindResult();
33 * @returns If the result contained data this method will return
34 * the data to the caller as a std::string.
36 const std::string& getServerCreds() const;
42 #endif // LDAP_SASL_BIND_RESULT_H