code: def secure(cls):
          
          builtin_mechs = cls._get_builtin_mechanisms()
          secure_mechs = [mech for _, mech in builtin_mechs.items()
                          if not mech.insecure and mech.priority is not None]
          return SASLAuth(secure_mechs)
docs: Uses only authentication mechanisms that are secure for use in
          non-encrypted sessions.
  
          Returns:
              A new :class:`SASLAuth` object.