def sasl_plain(self, name, password, identity=None):
if identity is None:<EOL><INDENT>identity = name<EOL><DEDENT>self.sasl('<STR_LIT>', name, password, identity)<EOL>
Authenticate to a server using SASL plain, or does so on connection.

        Args:
            name (str): Name to auth with.
            password (str): Password to auth with.
            identity (str): Identity to auth with (defaults to name).