

def __init__(self, model, storage=None, login_field='login', password_field='password', **kwargs):
    self._model = model
    self._login_field = login_field
    self._password_field = password_field
    CookieAuth.__init__(self, self.get_user_identity, self.identify_user, storage=storage, **kwargs)

dataset/ETHPy150Open SmartTeleMax/iktomi/iktomi/auth.py SqlaModelAuth.__init__/original