Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 28 for Bryant (0.15 sec)

  1. tests/test_security_oauth2.py

                    {
                        "loc": ["body", "grant_type"],
                        "msg": "field required",
                        "type": "value_error.missing",
                    }
                ]
            }
        )
    
    
    def test_strict_login_incorrect_grant_type():
        response = client.post(
            "/login",
            data={"username": "johndoe", "password": "secret", "grant_type": "incorrect"},
        )
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  2. docs/fr/docs/features.md

    * Même les dépendances peuvent avoir des dépendances, créant une hiérarchie ou un **"graph" de dépendances**
    * Tout est **automatiquement géré** par le framework
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_security/test_tutorial003_an_py310.py

                        "required": ["username", "password"],
                        "type": "object",
                        "properties": {
                            "grant_type": IsDict(
                                {
                                    "title": "Grant Type",
                                    "anyOf": [
                                        {"pattern": "password", "type": "string"},
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 8.4K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_security/test_tutorial003_py310.py

                        "required": ["username", "password"],
                        "type": "object",
                        "properties": {
                            "grant_type": IsDict(
                                {
                                    "title": "Grant Type",
                                    "anyOf": [
                                        {"pattern": "password", "type": "string"},
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 8.4K bytes
    - Viewed (0)
  5. docs/fr/docs/tutorial/body.md

    * Valider la donnée.
        * Si la donnée est invalide, une erreur propre et claire sera renvoyée, indiquant exactement où était la donnée incorrecte.
    * Passer la donnée reçue dans le paramètre `item`.
        * Ce paramètre ayant été déclaré dans la fonction comme étant de type `Item`, vous aurez aussi tout le support offert par l'éditeur (auto-complétion, etc.) pour tous les attributs de ce paramètre et les types de ces attributs.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  6. docs/fr/docs/tutorial/query-params.md

    ```
    http://127.0.0.1:8000/items/foo?short=yes
    ```
    
    ou n'importe quelle autre variation de casse (tout en majuscules, uniquement la première lettre en majuscule, etc.), votre fonction considérera le paramètre `short` comme ayant une valeur booléenne à `True`. Sinon la valeur sera à `False`.
    
    ## Multiples paramètres de chemin et de requête
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Sep 27 20:52:31 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  7. tests/test_security_oauth2_optional_description.py

                    {
                        "loc": ["body", "grant_type"],
                        "msg": "field required",
                        "type": "value_error.missing",
                    }
                ]
            }
        )
    
    
    def test_strict_login_incorrect_grant_type():
        response = client.post(
            "/login",
            data={"username": "johndoe", "password": "secret", "grant_type": "incorrect"},
        )
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_security/test_tutorial003_an.py

                        "required": ["username", "password"],
                        "type": "object",
                        "properties": {
                            "grant_type": IsDict(
                                {
                                    "title": "Grant Type",
                                    "anyOf": [
                                        {"pattern": "password", "type": "string"},
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 8K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_security/test_tutorial005.py

                        "required": ["username", "password"],
                        "type": "object",
                        "properties": {
                            "grant_type": IsDict(
                                {
                                    "title": "Grant Type",
                                    "anyOf": [
                                        {"pattern": "password", "type": "string"},
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:07:10 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  10. docs/ko/docs/tutorial/security/simple-oauth2.md

        ```
    
    `OAuth2PasswordRequestForm`은 다음을 사용하여 폼 본문을 선언하는 클래스 의존성입니다:
    
    * `username`.
    * `password`.
    * `scope`는 선택적인 필드로 공백으로 구분된 문자열로 구성된 큰 문자열입니다.
    * `grant_type`(선택적으로 사용).
    
    !!! 팁
        OAuth2 사양은 실제로 `password`라는 고정 값이 있는 `grant_type` 필드를 *요구*하지만 `OAuth2PasswordRequestForm`은 이를 강요하지 않습니다.
    
        사용해야 한다면 `OAuth2PasswordRequestForm` 대신 `OAuth2PasswordRequestFormStrict`를 사용하면 됩니다.
    
    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)
Back to top