[7.x] Add per-request authentication for http_auth and api_key

This commit is contained in:
Seth Michael Larson
2021-04-19 17:26:44 -05:00
parent f8ffb2cd0a
commit e4cdd4544d
80 changed files with 2364 additions and 805 deletions
+2
View File
@@ -53,6 +53,8 @@ GLOBAL_QUERY_PARAMS = {
"request_timeout": "Optional[Union[int, float]]",
"ignore": "Optional[Union[int, Collection[int]]]",
"opaque_id": "Optional[str]",
"http_auth": "Optional[Union[str, Tuple[str, str]]]",
"api_key": "Optional[Union[str, Tuple[str, str]]]",
}
jinja_env = Environment(
+1 -1
View File
@@ -23,4 +23,4 @@
{% endfor %}
params: Optional[MutableMapping[str, Any]]=...,
headers: Optional[MutableMapping[str, str]]=...
headers: Optional[MutableMapping[str, str]]=...,