Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for initialization (0.27 sec)

  1. fastapi/security/oauth2.py

        The OAuth2 specification dictates that for a password flow the data should be
        collected using form data (instead of JSON) and that it should have the specific
        fields `username` and `password`.
    
        All the initialization parameters are extracted from the request.
    
        Read more about it in the
        [FastAPI docs for Simple OAuth2 with Password and Bearer](https://fastapi.tiangolo.com/tutorial/security/simple-oauth2/).
    
        ## Example
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 21.1K bytes
    - Viewed (1)
  2. fastapi/openapi/docs.py

                """
            ),
        ] = None,
        init_oauth: Annotated[
            Optional[Dict[str, Any]],
            Doc(
                """
                A dictionary with Swagger UI OAuth2 initialization configurations.
                """
            ),
        ] = None,
        swagger_ui_parameters: Annotated[
            Optional[Dict[str, Any]],
            Doc(
                """
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 10.1K bytes
    - Viewed (0)
Back to top