- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 38 for hashed_password (0.08 sec)
-
docs_src/security/tutorial004_an_py310.py
disabled: bool | None = None class UserInDB(User): hashed_password: str password_hash = PasswordHash.recommended() oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token") app = FastAPI() def verify_password(plain_password, hashed_password): return password_hash.verify(plain_password, hashed_password) def get_password_hash(password): return password_hash.hash(password)
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Sep 29 02:57:38 UTC 2025 - 4.1K bytes - Viewed (0) -
docs/de/docs/tutorial/extra-models.md
#### Ein `dict` entpacken und zusätzliche Schlüsselwort-Argumente { #unpacking-a-dict-and-extra-keywords } Und dann fügen wir das zusätzliche Schlüsselwort-Argument `hashed_password=hashed_password` hinzu, wie in: ```Python UserInDB(**user_in.model_dump(), hashed_password=hashed_password) ``` ... was so ist wie: ```Python UserInDB( username = user_dict["username"], password = user_dict["password"],Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 24 10:28:19 UTC 2025 - 8K bytes - Viewed (0) -
docs/ru/docs/tutorial/extra-models.md
#### Распаковка `dict` и дополнительные именованные аргументы { #unpacking-a-dict-and-extra-keywords } И затем, если мы добавим дополнительный именованный аргумент `hashed_password=hashed_password` как здесь: ```Python UserInDB(**user_in.dict(), hashed_password=hashed_password) ``` ... то мы получим что-то подобное: ```Python UserInDB( username = user_dict["username"], password = user_dict["password"],Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 30 11:24:39 UTC 2025 - 11.5K bytes - Viewed (0) -
docs/pt/docs/tutorial/extra-models.md
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Nov 12 16:23:57 UTC 2025 - 7.5K bytes - Viewed (0) -
docs/ko/docs/tutorial/extra-models.md
그리고 다음과 같이 추가 키워드 인자 `hashed_password=hashed_password`를 추가하면: ```Python UserInDB(**user_in.dict(), hashed_password=hashed_password) ``` 다음과 같은 결과를 생성합니다: ```Python UserInDB( username = user_dict["username"], password = user_dict["password"], email = user_dict["email"], full_name = user_dict["full_name"], hashed_password = hashed_password, ) ```
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri May 30 13:38:33 UTC 2025 - 8.4K bytes - Viewed (0) -
docs/ja/docs/tutorial/extra-models.md
#### `dict`の展開と追加引数 そして、追加のキーワード引数`hashed_password=hashed_password`を以下のように追加すると: ```Python UserInDB(**user_in.dict(), hashed_password=hashed_password) ``` ...以下のようになります: ```Python UserInDB( username = user_dict["username"], password = user_dict["password"], email = user_dict["email"], full_name = user_dict["full_name"], hashed_password = hashed_password, ) ```
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 6.6K bytes - Viewed (0) -
docs/de/docs/tutorial/security/simple-oauth2.md
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Sep 20 15:10:09 UTC 2025 - 11.2K bytes - Viewed (0) -
docs/en/docs/tutorial/security/simple-oauth2.md
```Python UserInDB( username = user_dict["username"], email = user_dict["email"], full_name = user_dict["full_name"], disabled = user_dict["disabled"], hashed_password = user_dict["hashed_password"], ) ``` /// info For a more complete explanation of `**user_dict` check back in [the documentation for **Extra Models**](../extra-models.md#about-user-in-dict){.internal-link target=_blank}.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 9.4K bytes - Viewed (0) -
docs/es/docs/tutorial/security/simple-oauth2.md
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 16:33:45 UTC 2025 - 10.3K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial004.py
assert response.headers["WWW-Authenticate"] == "Bearer" def test_verify_password(mod: ModuleType): assert mod.verify_password( "secret", mod.fake_users_db["johndoe"]["hashed_password"] ) def test_get_password_hash(mod: ModuleType): assert mod.get_password_hash("johndoe") def test_create_access_token(mod: ModuleType):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 13.3K bytes - Viewed (0)