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