- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Layout (0.2 sec)
-
docs/en/docs/tutorial/security/simple-oauth2.md
=== "Python 3.8+ non-Annotated" !!! tip Prefer to use the `Annotated` version if possible. ```Python hl_lines="80-83" {!> ../../../docs_src/security/tutorial003.py!} ``` #### About `**user_dict` `UserInDB(**user_dict)` means: *Pass the keys and values of the `user_dict` directly as key-value arguments, equivalent to:* ```Python UserInDB( username = user_dict["username"],
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 12.5K bytes - Viewed (0) -
docs/ko/docs/tutorial/security/simple-oauth2.md
full_name = user_dict["full_name"], disabled = user_dict["disabled"], hashed_password = user_dict["hashed_password"], ) ``` !!! 정보 `**user_dict`에 대한 자세한 설명은 [**추가 모델** 문서](../extra-models.md#about-user_indict){.internal-link target=_blank}를 다시 읽어봅시다. ## 토큰 반환하기 `token` 엔드포인트의 응답은 JSON 객체여야 합니다. `token_type`이 있어야 합니다. 여기서는 "Bearer" 토큰을 사용하므로 토큰 유형은 "`bearer`"여야 합니다.
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)