From: adg-mh <40580891+adg-mh@users.noreply.github.com> Date: Fri, 27 Mar 2020 16:18:23 +0000 (-0500) Subject: :pencil2: Update doc string with correct class name (#1126) X-Git-Tag: 0.53.0~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1f53fef70a7cbb20267e0fb1166c29f90c84cba1;p=thirdparty%2Ffastapi%2Ffastapi.git :pencil2: Update doc string with correct class name (#1126) --- diff --git a/fastapi/security/oauth2.py b/fastapi/security/oauth2.py index 781293bb95..c9edbae428 100644 --- a/fastapi/security/oauth2.py +++ b/fastapi/security/oauth2.py @@ -81,7 +81,7 @@ class OAuth2PasswordRequestFormStrict(OAuth2PasswordRequestForm): grant_type: the OAuth2 spec says it is required and MUST be the fixed string "password". This dependency is strict about it. If you want to be permissive, use instead the - OAuth2PasswordRequestFormStrict dependency class. + OAuth2PasswordRequestForm dependency class. username: username string. The OAuth2 spec requires the exact field name "username". password: password string. The OAuth2 spec requires the exact field name "password". scope: Optional string. Several scopes (each one a string) separated by spaces. E.g.