async def _sasl_abort(self, timeout=False):
        """ Abort SASL authentication. """
        if timeout:
            self.logger.error('SASL authentication timed out: aborting.')
        else:
            self.logger.error('SASL authentication aborted.')

        if self._sasl_timer:
            self._sasl_timer.cancel()

            self._sasl_timer = None

        # We're done here.
        await self.rawmsg('AUTHENTICATE', ABORT_MESSAGE)
        await self._capability_negotiated('sasl')
async def _sasl_abort ( self , timeout = False ) : if timeout : self . logger . error ( 'SASL authentication timed out: aborting.' ) else : self . logger . error ( 'SASL authentication aborted.' ) if self . _sasl_timer : self . _sasl_timer . cancel ( ) self . _sasl_timer = None await self . rawmsg ( 'AUTHENTICATE' , ABORT_MESSAGE ) await self . _capability_negotiated ( 'sasl' )
Abort SASL authentication.