- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 353 for Subject (0.21 sec)
-
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 May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 13K bytes - Viewed (0) -
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 May 05 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 21:21:35 GMT 2024 - 14.1K bytes - Viewed (0) -
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 May 05 07:19:11 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 6.4K bytes - Viewed (0) -
tests/test_additional_properties.py
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 3.6K bytes - Viewed (0) -
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 May 05 07:19:11 GMT 2024 - Last Modified: Fri Apr 19 15:29:38 GMT 2024 - 13.2K bytes - Viewed (0) -
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 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 4.3K bytes - Viewed (0) -
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 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 4.5K bytes - Viewed (0) -
tests/test_union_body.py
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 4.6K bytes - Viewed (0) -
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 28 07:19:10 GMT 2024 - Last Modified: Fri Aug 04 20:47:07 GMT 2023 - 5.3K bytes - Viewed (0) -
tests/test_tutorial/test_request_files/test_tutorial001_03.py
"schemas": { "Body_create_file_files__post": { "title": "Body_create_file_files__post", "required": ["file"], "type": "object", "properties": { "file": { "title": "File", "type": "string",
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 6K bytes - Viewed (0)