Skip to content

Commit db76a20

Browse files
committed
HttpClientConfig docstring
1 parent 4528261 commit db76a20

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

fastapi_azure_auth/openid_config.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@
1414

1515

1616
class HttpClientConfig(TypedDict):
17+
"""
18+
Configuration for the HTTP client used to fetch the OpenID configuration.
19+
20+
verify - (optional) Either `True` to use an SSL context with the default CA bundle,
21+
`False` to disable verification, or an instance of `ssl.SSLContext` to use a custom context.
22+
trust_env - (optional) Enables or disables usage of environment variables for configuration.
23+
"""
24+
1725
verify: NotRequired[ssl.SSLContext | bool]
1826
trust_env: NotRequired[bool]
1927

0 commit comments

Comments
 (0)