Qpid Proton C++ API
0.32.0
|
|
Go to the documentation of this file. 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
std::string mech() const
Get the mechanism.
std::string user() const
Get the user name.
@ TEMP
Failed due to transient error.
Definition: sasl.hpp:58
@ NONE
Negotiation not completed.
Definition: sasl.hpp:53
@ SYS
Failed due to a system error.
Definition: sasl.hpp:56
@ AUTH
Failed due to bad credentials.
Definition: sasl.hpp:55
outcome
The result of the SASL negotiation.
Definition: sasl.hpp:52
A network channel supporting an AMQP connection.
Definition: transport.hpp:37
The main Proton namespace.
Definition: annotation_key.hpp:33
SASL information.
Definition: sasl.hpp:39
@ OK
Authentication succeeded.
Definition: sasl.hpp:54
@ PERM
Failed due to unrecoverable error.
Definition: sasl.hpp:57