ields  ](../../body-fields/)
      * [ Body - Nested Models  ](../../body-nested-models/)
      * [ Declare Request Example Data  ](../../schema-extra-example/)
      * [ Extra Data Types  ](../../extra-data-types/)
      * [ Cookie Parameters  ](../../cookie-params/)
      * [ Header Parameters  ](../../header-params/)
      * [ Response Model - Return Type  ](../../response-model/)
      * [ Extra Models  ](../../extra-models/)
      * [ Response Status Code  ](../../response-status-code/)
      * [ Form Data  ](../../request-forms/)
      * [ Request Files  ](../../request-files/)
      * [ Request Forms and Files  ](../../request-forms-and-files/)
      * [ Handling Errors  ](../../handling-errors/)
      * [ Path Operation Configuration  ](../../path-operation-configuration/)
      * [ JSON Compatible Encoder  ](../../encoder/)
      * [ Body - Updates  ](../../body-updates/)
      * [ Dependencies  ](../../dependencies/)

Dependencies

        * [ Classes as Dependencies  ](../../dependencies/classes-as-dependencies/)
        * [ Sub-dependencies  ](../../dependencies/sub-dependencies/)
        * [ Dependencies in path operation decorators  ](../../dependencies/dependencies-in-path-operation-decorators/)
        * [ Global Dependencies  ](../../dependencies/global-dependencies/)
        * [ Dependencies with yield  ](../../dependencies/dependencies-with-yield/)
      * [ Security  ](../)

Security

        * Security - First Steps  [ Security - First Steps  ](./) Table of contents 
          * How it looks 
          * Create ` main.py `
          * Run it 
          * Check it 
          * The ` password ` flow 
          * **FastAPI** 's ` OAuth2PasswordBearer `
            * Use it 
          * What it does 
          * Recap 
        * [ Get Current User  ](../get-current-user/)
        * [ Simple OAuth2 with Password and Bearer  ](../simple-oauth2/)
        * [ OAuth2 with Password (and hashing), Bearer with JWT tokens  ](../oauth2-jwt/)
      * [ Middleware  ](../../middleware/)
      * [ CORS (Cross-Origin Resource Sharing)  ](../../cors/)
      * [ SQL (Relational) Databases  ](../../sql-databases/)
      * [ Bigger Applications - Multiple Files  ](../../bigger-applications/)
      * [ Background Tasks  ](../../background-tasks/)
      * [ Metadata and Docs URLs  ](../../metadata/)
      * [ Static Files  ](../../static-files/)
      * [ Testing  ](../../testing/)
      * [ Debugging  ](../../debugging/)
    * [ Advanced User Guide  ](../../../advanced/)

Advanced User Guide

      * [ Path Operation Advanced Configuration  ](../../../advanced/path-operation-advanced-configuration/)
      * [ Additional Status Codes  ](../../../advanced/additional-status-codes/)
      * [ Return a Response Directly  ](../../../advanced/response-directly/)
      * [ Custom Response - HTML, Stream, File, others  ](../../../advanced/custom-response/)
      * [ Additional Responses in OpenAPI  ](../../../advanced/additional-responses/)
      * [ Response Cookies  ](../../../advanced/response-cookies/)
      * [ Response Headers  ](../../../advanced/response-headers/)
      * [ Response - Change Status Code  ](../../../advanced/response-change-status-code/)
      * [ Advanced Dependencies  ](../../../advanced/advanced-dependencies/)
      * [ Advanced Security  ](../../../advanced/security/)

Advanced Security

        * [ OAuth2 scopes  ](../../../advanced/security/oauth2-scopes/)
        * [ HTTP Basic Auth  ](../../../advanced/security/http-basic-auth/)
      * [ Using the Request Directly  ](../../../advanced/using-request-directly/)
      * [ Using Dataclasses  ](../../../advanced/dataclasses/)
      * [ Advanced Middleware  ](../../../advanced/middleware/)
      * [ Sub Applications - Mounts  ](../../../advanced/sub-applications/)
      * [ Behind a Proxy  ](../../../advanced/behind-a-proxy/)
      * [ Templates  ](../../../advanced/templates/)
      * [ WebSockets  ](../../../advanced/websockets/)
      * [ Lifespan Events  ](.