This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
python-emails/emails/testsuite/contrib/local-smtpd/secure_smtpd/store_credentials.py

12 lines
300 B
Python

class StoreCredentials(object):
def __init__(self):
self.stored = False
self.username = None
self.password = None
def validate(self, username, password):
self.stored = True
self.username = username
self.password = password
return True