From e08159968f0c8c351f750d4f576d223b73c95d8a Mon Sep 17 00:00:00 2001 From: Alex Zywicki Date: Wed, 10 Nov 2021 13:03:02 -0600 Subject: [PATCH] Resolving mising args and more --- asynction/security/validation.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/asynction/security/validation.py b/asynction/security/validation.py index 6a09379..583775c 100644 --- a/asynction/security/validation.py +++ b/asynction/security/validation.py @@ -213,8 +213,6 @@ def build_http_api_key_security_check( if api_key_in not in ["query", "header", "cookie"]: raise SecurityException("invalid api key location specified") - print(api_key_in, api_key_name) - def http_api_key_security_check(request: Request): def _immutable_pop(_dict, key): """ @@ -238,11 +236,10 @@ def _immutable_pop(_dict, key): apikey = get_cookie_value(cookieslist, api_key_name) else: return None - print(f"apiKey: {apikey}") if apikey is None: return None - token_info = api_key_info_func(apikey, required_scopes) + token_info = api_key_info_func(apikey, required_scopes, None) if token_info is None: return None