From 4f3e3d61c8558b14d3d677ed829ad1fd4d062886 Mon Sep 17 00:00:00 2001 From: Abu Sakib Date: Wed, 18 Sep 2024 16:26:10 +0600 Subject: [PATCH] Fix typos --- README.md | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index cbb2361..47cf449 100644 --- a/README.md +++ b/README.md @@ -283,7 +283,7 @@ For example, you may want to save a virtual machine instance ID, a trace ID, or (request, response) - Dictionary + String @@ -492,17 +492,11 @@ A field name used to parse the user from authorization header in Moesif. Data type - - Default - String - - sub - @@ -632,7 +626,7 @@ and returns `True` if you want to skip this particular event. -Optional, but highly recommended). +Optional, but highly recommended. A function that takes [Requests](http://docs.python-requests.org/en/master/api/) request and response objects, and returns a string that represents the user ID used by your system. @@ -842,7 +836,7 @@ app = FastAPI() app.add_middleware(MoesifMiddleware, settings=moesif_settings) ``` -You can use **`OAuth2`** in your FastAPI app with this middleware. For more information, see [OAuth2 with Password (and hashing), Bearer with JWT tokens](https://fastapi.tiangolo.com/tutorial/security/oauth2-jwt/). +You can use OAuth2 in your FastAPI app with this middleware. For more information, see [OAuth2 with Password (and hashing), Bearer with JWT tokens](https://fastapi.tiangolo.com/tutorial/security/oauth2-jwt/). ## Tested versions