Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 104 for light (0.03 sec)

  1. docs/en/docs/advanced/security/http-basic-auth.md

    At that point, by noticing that the server took some microseconds longer to send the "Incorrect username or password" response, the attackers will know that they got _something_ right, some of the initial letters were right.
    
    And then they can try again knowing that it's probably something more similar to `stanleyjobsox` than to `johndoe`.
    
    #### A "professional" attack
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Jan 11 14:33:05 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/security/simple-oauth2.md

        You can actually skip that extra header and it would still work.
    
        But it's provided here to be compliant with the specifications.
    
        Also, there might be tools that expect and use it (now or in the future) and that might be useful for you or your users, now or in the future.
    
        That's the benefit of standards...
    
    ## See it in action
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/index.md

    The **Advanced User Guide**, builds on this, uses the same concepts, and teaches you some extra features.
    
    But you should first read the **Tutorial - User Guide** (what you are reading right now).
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 02 22:37:31 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/advanced-dependencies.md

        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="20"
        {!> ../../../docs_src/dependencies/tutorial011.py!}
        ```
    
    !!! tip
        All this might seem contrived. And it might not be very clear how is it useful yet.
    
        These examples are intentionally simple, but show how it all works.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 17 05:59:11 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  5. docs/en/docs/how-to/nosql-databases-couchbase.md

    The analogy in **MongoDB** would be a "collection".
    
    In the code, a `Bucket` represents the main entrypoint of communication with the database.
    
    This utility function will:
    
    * Connect to a **Couchbase** cluster (that might be a single machine).
        * Set defaults for timeouts.
    * Authenticate in the cluster.
    * Get a `Bucket` instance.
        * Set defaults for timeouts.
    * Return it.
    
    ```Python hl_lines="12-21"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/first-steps.md

    This schema definition includes your API paths, the possible parameters they take, etc.
    
    #### Data "schema"
    
    The term "schema" might also refer to the shape of some data, like a JSON content.
    
    In that case, it would mean the JSON attributes, and data types they have, etc.
    
    #### OpenAPI and JSON Schema
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 00:24:48 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/behind-a-proxy.md

    # Behind a Proxy
    
    In some situations, you might need to use a **proxy** server like Traefik or Nginx with a configuration that adds an extra path prefix that is not seen by your application.
    
    In these cases you can use `root_path` to configure your application.
    
    The `root_path` is a mechanism provided by the ASGI specification (that FastAPI is built on, through Starlette).
    
    The `root_path` is used to handle these specific cases.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 02 22:37:31 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/additional-responses.md

    # Additional Responses in OpenAPI
    
    !!! warning
        This is a rather advanced topic.
    
        If you are starting with **FastAPI**, you might not need this.
    
    You can declare additional responses, with additional status codes, media types, descriptions, etc.
    
    Those additional responses will be included in the OpenAPI schema, so they will also appear in the API docs.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/security/get-current-user.md

        ```
    
    Notice that we declare the type of `current_user` as the Pydantic model `User`.
    
    This will help us inside of the function with all the completion and type checks.
    
    !!! tip
        You might remember that request bodies are also declared with Pydantic models.
    
        Here **FastAPI** won't get confused because you are using `Depends`.
    
    !!! check
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Jan 11 16:31:18 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. docs/en/docs/how-to/conditional-openapi.md

    * Implement and use well-known cryptographic tools, like Passlib and JWT tokens, etc.
    * Add more granular permission controls with OAuth2 scopes where needed.
    * ...etc.
    
    Nevertheless, you might have a very specific use case where you really need to disable the API docs for some environment (e.g. for production) or depending on configurations from environment variables.
    
    ## Conditional OpenAPI from settings and env vars
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Aug 19 19:54:04 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top