Exemple #1
0
    def user(self) -> Optional[str]:
        """
        The authenticated user.

        On the client it will return whatever user was passed in to the
        :attr:`Connection.user` attribute of the bound connection.

        The returned value is only reliable after the ``PN_TRANSPORT_AUTHENTICATED``
        event has been received.
        """
        return pn_transport_get_user(self._impl)
Exemple #2
0
 def user(self):
     return pn_transport_get_user(self._impl)
Exemple #3
0
 def user(self):
     return pn_transport_get_user(self._impl)