- Sort Score
- Result 10 results
- Languages All
Results 31 - 31 of 31 for timedelta (0.15 sec)
-
docs/ja/docs/tutorial/security/oauth2-jwt.md
受け取ったトークンを復号して検証し、現在のユーザーを返します。 トークンが無効な場合は、すぐにHTTPエラーを返します。 ```Python hl_lines="89-106" {!../../../docs_src/security/tutorial004.py!} ``` ## `/token` パスオペレーションの更新 トークンの有効期限を表す`timedelta`を作成します。 JWTアクセストークンを作成し、それを返します。 ```Python hl_lines="115-130" {!../../../docs_src/security/tutorial004.py!} ``` ### JWTの"subject" `sub` についての技術的な詳細 JWTの仕様では、トークンのsubjectを表すキー`sub`があるとされています。
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)