1 #ifndef PROTON_SASL_HPP 2 #define PROTON_SASL_HPP 25 #include "./internal/export.hpp" 26 #include "./internal/config.hpp" 27 #include "./internal/object.hpp" 29 #include <proton/sasl.h> 41 sasl(pn_sasl_t* s) : object_(s) {}
44 #if PN_CPP_HAS_DELETED_FUNCTIONS 65 PN_CPP_EXTERN std::string
user()
const;
68 PN_CPP_EXTERN std::string
mech()
const;
72 pn_sasl_t*
const object_;
80 #endif // PROTON_SASL_HPP Failed due to a system error.
Definition: sasl.hpp:56
Failed due to unrecoverable error.
Definition: sasl.hpp:57
std::string mech() const
Get the mechanism.
SASL information.
Definition: sasl.hpp:39
Failed due to bad credentials.
Definition: sasl.hpp:55
std::string user() const
Get the user name.
Authentication succeeded.
Definition: sasl.hpp:54
Failed due to transient error.
Definition: sasl.hpp:58
Negotiation not completed.
Definition: sasl.hpp:53
enum outcome outcome() const
Get the outcome.
A network channel supporting an AMQP connection.
Definition: transport.hpp:37
outcome
The result of the SASL negotiation.
Definition: sasl.hpp:52
The main Proton namespace.
Definition: annotation_key.hpp:33