Lines Matching refs:auth
69 OLDSTYLE_AUTH = re.compile(r"auth=(.*)", re.I)
469 # we have to take the old-style auth advertisement into account,
472 # 2) There are some servers that only advertise the auth methods we
477 self.esmtp_features["auth"] = self.esmtp_features.get("auth", "") \
489 if feature == "auth":
616 def auth(self, mechanism, authobject, *, initial_response_ok=True):
620 be used - the valid values are those listed in the 'auth'
635 # RFC 4954 allows auth methods to provide an initial response. Not all
715 if not self.has_extn("auth"):
720 advertised_authlist = self.esmtp_features["auth"].split()
727 authlist = [auth for auth in preferred_auths
728 if auth in advertised_authlist]
739 (code, resp) = self.auth(