Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 363 for Subject (0.16 sec)

  1. LICENSE

    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    furnished to do so, subject to the following conditions:
    
    The above copyright notice and this permission notice shall be included in
    all copies or substantial portions of the Software.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Dec 08 07:57:18 GMT 2018
    - 1.1K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/security/oauth2-jwt.md

        ```Python hl_lines="115-130"
        {!> ../../../docs_src/security/tutorial004.py!}
        ```
    
    ### Technical details about the JWT "subject" `sub`
    
    The JWT specification says that there's a key `sub`, with the subject of the token.
    
    It's optional to use it, but that's where you would put the user's identification, so we are using it here.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13K bytes
    - Viewed (0)
  3. docs/ja/docs/tutorial/security/oauth2-jwt.md

    トークンの有効期限を表す`timedelta`を作成します。
    
    JWTアクセストークンを作成し、それを返します。
    
    ```Python hl_lines="115-130"
    {!../../../docs_src/security/tutorial004.py!}
    ```
    
    ### JWTの"subject" `sub` についての技術的な詳細
    
    JWTの仕様では、トークンのsubjectを表すキー`sub`があるとされています。
    
    使用するかどうかは任意ですが、`sub`はユーザーの識別情報を入れるように規定されているので、ここで使用します。
    
    JWTは、ユーザーを識別して、そのユーザーがAPI上で直接操作を実行できるようにする以外にも、他の用途で使用されることがあります。
    
    例えば、「車」や「ブログ記事」を識別することができます。
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 21:21:35 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  4. tests/test_request_body_parameters_media_type.py

                        "required": ["data"],
                        "type": "object",
                        "properties": {"data": {"$ref": "#/components/schemas/Product"}},
                    },
                    "Body_create_shop_shops_post": {
                        "title": "Body_create_shop_shops_post",
                        "required": ["data"],
                        "type": "object",
                        "properties": {
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  5. tests/test_additional_properties.py

                    "Items": {
                        "title": "Items",
                        "required": ["items"],
                        "type": "object",
                        "properties": {
                            "items": {
                                "title": "Items",
                                "type": "object",
                                "additionalProperties": {"type": "integer"},
                            }
                        },
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  6. fastapi/security/http.py

    
    class HTTPBasic(HTTPBase):
        """
        HTTP Basic authentication.
    
        ## Usage
    
        Create an instance object and use that object as the dependency in `Depends()`.
    
        The dependency result will be an `HTTPBasicCredentials` object containing the
        `username` and the `password`.
    
        Read more about it in the
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Apr 19 15:29:38 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_additional_responses/test_tutorial001.py

                        "required": ["message"],
                        "type": "object",
                        "properties": {"message": {"title": "Message", "type": "string"}},
                    },
                    "ValidationError": {
                        "title": "ValidationError",
                        "required": ["loc", "msg", "type"],
                        "type": "object",
                        "properties": {
                            "loc": {
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_additional_responses/test_tutorial003.py

                        "required": ["message"],
                        "type": "object",
                        "properties": {"message": {"title": "Message", "type": "string"}},
                    },
                    "ValidationError": {
                        "title": "ValidationError",
                        "required": ["loc", "msg", "type"],
                        "type": "object",
                        "properties": {
                            "loc": {
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  9. tests/test_union_body.py

                        "title": "OtherItem",
                        "required": ["price"],
                        "type": "object",
                        "properties": {"price": {"title": "Price", "type": "integer"}},
                    },
                    "Item": {
                        "title": "Item",
                        "type": "object",
                        "properties": IsDict(
                            {
                                "name": {
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_extra_models/test_tutorial003_py310.py

                            ["description", "type", "size"],
                            # TODO: remove when deprecating Pydantic v1
                            ["description", "size"],
                        ),
                        "type": "object",
                        "properties": {
                            "description": {"title": "Description", "type": "string"},
                            "type": {"title": "Type", "type": "string", "default": "plane"},
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Aug 04 20:47:07 GMT 2023
    - 5.3K bytes
    - Viewed (0)
Back to top