]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
✏️ Fix typos in docstrings (#11295)
authorDavid Huser <david.huser@hslu.ch>
Thu, 14 Mar 2024 16:38:24 +0000 (17:38 +0100)
committerGitHub <noreply@github.com>
Thu, 14 Mar 2024 16:38:24 +0000 (17:38 +0100)
fastapi/security/oauth2.py
fastapi/security/open_id_connect_url.py

index be3e18cd80cf55b23606a2896740531fe6f04e8e..0606291b8a70d82b4bd797c99161ae0b8dea6d5b 100644 (file)
@@ -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.
 
index c612b475de8f483ccdcc73c062574c0a5ff90fff..1d255877dbd0219121bbc16ea59a734a81a85462 100644 (file)
@@ -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.