Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 145 for simple (0.31 sec)

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

    # Simple OAuth2 with Password and Bearer
    
    Now let's build from the previous chapter and add the missing parts to have a complete security flow.
    
    ## Get the `username` and `password`
    
    We are going to use **FastAPI** security utilities to get the `username` and `password`.
    
    OAuth2 specifies that when using the "password flow" (that we are using) the client/user must send a `username` and `password` fields as form data.
    
    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)
  2. docs/de/docs/tutorial/security/simple-oauth2.md

    Nils Lindemann <******@****.***> 1711822124 +0100
    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)
  3. docs/ko/docs/tutorial/security/simple-oauth2.md

    DoHyun Kim <******@****.***> 1712097443 +0900
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 22:37:23 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/security/simple-oauth2.md

    Nils Lindemann <******@****.***> 1713469999 +0200
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/security/simple-oauth2.md

    Nils Lindemann <******@****.***> 1713469999 +0200
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  6. docs/en/docs/img/index/index-01-swagger-ui-simple.png

    index-01-swagger-ui-simple.png...
    PNG Image
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Mar 26 19:09:53 GMT 2020
    - 72.4K bytes
    - Viewed (0)
  7. docs/en/docs/img/index/index-02-redoc-simple.png

    index-02-redoc-simple.png...
    PNG Image
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Mar 26 19:09:53 GMT 2020
    - 66.9K bytes
    - Viewed (0)
  8. tests/test_response_model_include_exclude.py

            baz="simple_exclude model2 baz",
        )
    
    
    @app.get(
        "/simple_exclude_dict",
        response_model=Model2,
        response_model_exclude={"ref": {"bar"}},
    )
    def simple_exclude_dict():
        return {
            "ref": {
                "foo": "simple_exclude_dict model foo",
                "bar": "simple_exclude_dict model bar",
            },
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jul 19 19:14:58 GMT 2021
    - 4K bytes
    - Viewed (0)
  9. tests/test_invalid_path_param.py

            def read_items(id: Dict[str, Item]):
                pass  # pragma: no cover
    
    
    def test_invalid_simple_list():
        with pytest.raises(AssertionError):
            app = FastAPI()
    
            @app.get("/items/{id}")
            def read_items(id: list):
                pass  # pragma: no cover
    
    
    def test_invalid_simple_tuple():
        with pytest.raises(AssertionError):
            app = FastAPI()
    
            @app.get("/items/{id}")
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jun 03 17:59:40 GMT 2019
    - 1.7K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/dependencies/index.md

    * Share database connections.
    * Enforce security, authentication, role requirements, etc.
    * And many other things...
    
    All these, while minimizing code repetition.
    
    ## First Steps
    
    Let's see a very simple example. It will be so simple that it is not very useful, for now.
    
    But this way we can focus on how the **Dependency Injection** system works.
    
    ### Create a dependency, or "dependable"
    
    Let's first focus on the dependency.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.6K bytes
    - Viewed (0)
Back to top