]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
✏️ Fix typo in `fastapi/security/oauth2.py` (#11368)
authorSun Bin <165283125+shandongbinzhou@users.noreply.github.com>
Fri, 29 Mar 2024 23:06:20 +0000 (07:06 +0800)
committerGitHub <noreply@github.com>
Fri, 29 Mar 2024 23:06:20 +0000 (18:06 -0500)
fastapi/security/oauth2.py

index 0606291b8a70d82b4bd797c99161ae0b8dea6d5b..d7ba44bcea857efe372a69ab1330d60c805edfa9 100644 (file)
@@ -54,7 +54,7 @@ class OAuth2PasswordRequestForm:
     Note that for OAuth2 the scope `items:read` is a single scope in an opaque string.
     You could have custom internal logic to separate it by colon caracters (`:`) or
     similar, and get the two parts `items` and `read`. Many applications do that to
-    group and organize permisions, you could do it as well in your application, just
+    group and organize permissions, you could do it as well in your application, just
     know that that it is application specific, it's not part of the specification.
     """
 
@@ -196,7 +196,7 @@ class OAuth2PasswordRequestFormStrict(OAuth2PasswordRequestForm):
     Note that for OAuth2 the scope `items:read` is a single scope in an opaque string.
     You could have custom internal logic to separate it by colon caracters (`:`) or
     similar, and get the two parts `items` and `read`. Many applications do that to
-    group and organize permisions, you could do it as well in your application, just
+    group and organize permissions, you could do it as well in your application, just
     know that that it is application specific, it's not part of the specification.