File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
packages/toolbox-core/src/toolbox_core Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -60,11 +60,15 @@ def identify_required_authn_params(
60
60
61
61
Returns:
62
62
A tuple containing:
63
- - A new dictionary representing the subset of required
64
- authentication parameters that are not covered by the provided
65
- `auth_service_names`.
66
- - A list of authentication service names from `auth_service_names`
67
- that were found to satisfy at least one parameter's requirements.
63
+ - required_authn_params: A new dictionary representing the subset of
64
+ required authentication parameters that are not covered by the
65
+ provided `auth_service_names`.
66
+ - required_authz_tokens: A list of required authorization tokens if
67
+ no service name in `auth_service_names` matches any token in
68
+ `req_authz_tokens`. If any match is found, this list is empty.
69
+ - used_services: A set of service names from `auth_service_names`
70
+ that were found to satisfy at least one authentication parameter's
71
+ requirements or matched one of the `req_authz_tokens`.
68
72
"""
69
73
required_params : dict [str , list [str ]] = {}
70
74
used_services : set [str ] = set ()
You can’t perform that action at this time.
0 commit comments