Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 79 for Basjes (0.14 sec)

  1. docs/de/docs/tutorial/security/simple-oauth2.md

    Sie können jedoch nicht vom Kauderwelsch zurück zum Passwort konvertieren.
    
    ##### Warum Passwort-Hashing verwenden?
    
    Wenn Ihre Datenbank gestohlen wird, hat der Dieb nicht die Klartext-Passwörter Ihrer Benutzer, sondern nur die Hashes.
    
    Der Dieb kann also nicht versuchen, die gleichen Passwörter in einem anderen System zu verwenden (da viele Benutzer überall das gleiche Passwort verwenden, wäre dies gefährlich).
    
    === "Python 3.10+"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:08:44 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/security/simple-oauth2.md

    But you cannot convert from the gibberish back to the password.
    
    ##### Why use password hashing
    
    If your database is stolen, the thief won't have your users' plaintext passwords, only the hashes.
    
    So, the thief won't be able to try to use those same passwords in another system (as many users use the same password everywhere, this would be dangerous).
    
    === "Python 3.10+"
    
        ```Python hl_lines="82-85"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/custom-response.md

    !!! warning
        `ujson` is less careful than Python's built-in implementation in how it handles some edge-cases.
    
    ```Python hl_lines="2  7"
    {!../../../docs_src/custom_response/tutorial001.py!}
    ```
    
    !!! tip
        It's possible that `ORJSONResponse` might be a faster alternative.
    
    ### `RedirectResponse`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/security/oauth2-scopes.md

        Nevertheless, you still enforce those scopes, or any other security/authorization requirement, however you need, in your code.
    
        In many cases, OAuth2 with scopes can be an overkill.
    
        But if you know you need it, or you are curious, keep reading.
    
    ## OAuth2 scopes and OpenAPI
    
    The OAuth2 specification defines "scopes" as a list of strings separated by spaces.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 21:21:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  5. fastapi/applications.py

                    entire application, it doesn't change from request to request.
    
                    You normally woudln't use this in FastAPI, for most of the cases you
                    would instead use FastAPI dependencies.
    
                    This is simply inherited from Starlette.
    
                    Read more about it in the
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/testing-dependencies.md

    Instead, you want to provide a different dependency that will be used only during tests (possibly only some specific tests), and will provide a value that can be used where the value of the original dependency was used.
    
    ### Use cases: external service
    
    An example could be that you have an external authentication provider that you need to call.
    
    You send it a token and it returns an authenticated user.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  7. docs/en/docs/how-to/separate-openapi-schemas.md

    # Separate OpenAPI Schemas for Input and Output or Not
    
    When using **Pydantic v2**, the generated OpenAPI is a bit more exact and **correct** than before. 😎
    
    In fact, in some cases, it will even have **two JSON Schemas** in OpenAPI for the same Pydantic model, for input and output, depending on if they have **default values**.
    
    Let's see how that works and how to change it if you need to do that.
    
    ## Pydantic Models for Input and Output
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  8. docs/de/docs/how-to/conditional-openapi.md

    * Konfigurieren Sie alle erforderlichen Berechtigungen und Rollen mithilfe von Abhängigkeiten.
    * Speichern Sie niemals Klartext-Passwörter, sondern nur Passwort-Hashes.
    * Implementieren und verwenden Sie gängige kryptografische Tools wie Passlib und JWT-Tokens, usw.
    * Fügen Sie bei Bedarf detailliertere Berechtigungskontrollen mit OAuth2-Scopes hinzu.
    * ... usw.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:18:13 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

        ```
    
    Those parameters are what **FastAPI** will use to "solve" the dependency.
    
    In both cases, it will have:
    
    * An optional `q` query parameter that is a `str`.
    * A `skip` query parameter that is an `int`, with a default of `0`.
    * A `limit` query parameter that is an `int`, with a default of `100`.
    
    In both cases the data will be converted, validated, documented on the OpenAPI schema, etc.
    
    ## Use it
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  10. docs/en/docs/deployment/docker.md

    **replication** at the cluster level, with multiple **containers**. In those cases, you are better off **building an image from scratch** as described above: [Build a Docker Image for FastAPI](#build-a-docker-image-for-fastapi).
    
    This image would be useful mainly in the special cases described above in [Containers with Multiple Processes and Special Cases](#containers-with-multiple-processes-and-special-cases). For example, if your application is **simple enough** that setting a default...
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 34K bytes
    - Viewed (0)
Back to top