From afed97d006ff2af8cee7b754c674129388b608a9 Mon Sep 17 00:00:00 2001 From: Jono Templeton Date: Fri, 29 Nov 2024 12:00:28 +1300 Subject: [PATCH] AUT-2461: touchups --- authsignal/client.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/authsignal/client.py b/authsignal/client.py index c261d0a..68a434a 100644 --- a/authsignal/client.py +++ b/authsignal/client.py @@ -19,6 +19,9 @@ class ActionState(Enum): CHALLENGE_REQUIRED = "CHALLENGE_REQUIRED" CHALLENGE_FAILED = "CHALLENGE_FAILED" CHALLENGE_SUCCEEDED = "CHALLENGE_SUCCEEDED" + REVIEW_REQUIRED = "REVIEW_REQUIRED" + REVIEW_FAILED = "REVIEW_FAILED" + REVIEW_SUCCEEDED = "REVIEW_SUCCEEDED" class DecimalEncoder(json.JSONEncoder): @@ -161,7 +164,7 @@ def update_user(self, user_id: str, attributes: Dict[str, Any]) -> Dict[str, Any return response.decamelized_content - def delete_user(self, user_id: str) -> Dict[str, Any]: + def delete_user(self, user_id: str): """Deletes a user from authsignal Args: user_id: A user's id. @@ -206,9 +209,7 @@ def enroll_verified_authenticator( return response.decamelized_content - def delete_authenticator( - self, user_id: str, user_authenticator_id: str - ) -> Dict[str, Any]: + def delete_authenticator(self, user_id: str, user_authenticator_id: str): """Deletes an authenticator from authsignal Args: user_id: A user's id.