def mech(self): """ Return the selected SASL mechanism. The returned value is only reliable after the ``PN_TRANSPORT_AUTHENTICATED`` event has been received. :rtype: The authentication mechanism selected by the SASL layer. """ return pn_sasl_get_mech(self._sasl)
def mech(self): return pn_sasl_get_mech(self._sasl)