code: def sasl_plain(self, name, password, identity=None):
          
          if identity is None:
              identity = name
  
          self.sasl('plain', name, password, identity)
docs: 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).