From: David Huser Date: Thu, 14 Mar 2024 16:38:24 +0000 (+0100) Subject: ✏️ Fix typos in docstrings (#11295) X-Git-Tag: 0.110.1~319 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3c70b55042beff82d70d0ff8acc9dabbd95253b4;p=thirdparty%2Ffastapi%2Ffastapi.git ✏️ Fix typos in docstrings (#11295) --- diff --git a/fastapi/security/oauth2.py b/fastapi/security/oauth2.py index be3e18cd80..0606291b8a 100644 --- a/fastapi/security/oauth2.py +++ b/fastapi/security/oauth2.py @@ -441,7 +441,7 @@ class OAuth2PasswordBearer(OAuth2): bool, Doc( """ - By default, if no HTTP Auhtorization header is provided, required for + By default, if no HTTP Authorization header is provided, required for OAuth2 authentication, it will automatically cancel the request and send the client an error. @@ -543,7 +543,7 @@ class OAuth2AuthorizationCodeBearer(OAuth2): bool, Doc( """ - By default, if no HTTP Auhtorization header is provided, required for + By default, if no HTTP Authorization header is provided, required for OAuth2 authentication, it will automatically cancel the request and send the client an error. diff --git a/fastapi/security/open_id_connect_url.py b/fastapi/security/open_id_connect_url.py index c612b475de..1d255877db 100644 --- a/fastapi/security/open_id_connect_url.py +++ b/fastapi/security/open_id_connect_url.py @@ -49,7 +49,7 @@ class OpenIdConnect(SecurityBase): bool, Doc( """ - By default, if no HTTP Auhtorization header is provided, required for + By default, if no HTTP Authorization header is provided, required for OpenID Connect authentication, it will automatically cancel the request and send the client an error.