Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions docassemble/EFSPIntegration/efm_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,27 +219,22 @@ def authenticate_user(
self,
tyler_email: str = None,
tyler_password: str = None,
jeffnet_key: str = None,
*,
jurisdiction: str = None,
) -> ApiResponse:
"""
Params:
tyler_email (str)
tyler_password (str)
jeffnet_key (str)
"""
temp_efile_config = get_config("efile proxy", {})
if tyler_email is None:
tyler_email = temp_efile_config.get("tyler email")
if tyler_password is None:
tyler_password = temp_efile_config.get("tyler password")
if jeffnet_key is None:
jeffnet_key = temp_efile_config.get("jeffnet api token")
resp = super().authenticate_user(
tyler_email=tyler_email,
tyler_password=tyler_password,
jeffnet_key=jeffnet_key,
jurisdiction=jurisdiction,
)
if resp.is_ok():
Expand Down
3 changes: 0 additions & 3 deletions docassemble/EFSPIntegration/py_efsp_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ def authenticate_user(
*,
tyler_email: Optional[str] = None,
tyler_password: Optional[str] = None,
jeffnet_key: Optional[str] = None,
jurisdiction: str = None,
) -> ApiResponse:
"""
Expand All @@ -251,8 +250,6 @@ def authenticate_user(
)
auth_obj: Dict[str, Union[str, Dict[str, str]]] = {}
auth_obj["api_key"] = self.api_key
if jeffnet_key:
auth_obj["jeffnet"] = {"key": jeffnet_key}
if tyler_email and tyler_password:
auth_obj[f"tyler-{jurisdiction}"] = {
"username": tyler_email,
Expand Down
Loading