- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 89 for johndoe (0.04 sec)
-
docs/zh/docs/tutorial/security/oauth2-jwt.md
用与上一章同样的方式实现应用授权。 使用如下凭证: 用户名: `johndoe` 密码: `secret` /// check | 检查 注意,代码中没有明文密码**`secret`**,只保存了它的哈希值。 /// <img src="https://fastapi.tiangolo.com/img/tutorial/security/image08.png"> 调用 `/users/me/` 端点,收到下面的响应: ```JSON { "username": "johndoe", "email": "johndoe@example.com", "full_name": "John Doe", "disabled": false } ```
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 8.9K bytes - Viewed (0) -
docs/ru/docs/tutorial/security/oauth2-jwt.md
Используя учетные данные пользователя: Username: `johndoe` Password: `secret` /// check | Проверка Обратите внимание, что нигде в коде не используется открытый текст пароля "`secret`", мы используем только его хэшированную версию. /// <img src="/img/tutorial/security/image08.png"> Вызвав эндпоинт `/users/me/`, вы получите ответ в виде: ```JSON { "username": "johndoe", "email": "******@****.***",
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 30 11:24:39 UTC 2025 - 19.1K bytes - Viewed (0) -
docs/ru/docs/tutorial/security/simple-oauth2.md
Теперь используйте операцию `GET` с путём `/users/me`. Вы получите свои пользовательские данные, например: ```JSON { "username": "johndoe", "email": "johndoe@example.com", "full_name": "John Doe", "disabled": false, "hashed_password": "fakehashedsecret" } ``` <img src="/img/tutorial/security/image06.png">Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 30 11:24:39 UTC 2025 - 16.3K bytes - Viewed (0) -
docs/ja/docs/tutorial/path-params.md
"model_name": "alexnet", "message": "Deep Learning FTW!" } ``` ## パスを含んだパスパラメータ パス `/files/{file_path}` となる *path operation* を持っているとしましょう。 ただし、 `home/johndoe/myfile.txt` のような*パス*を含んだ `file_path` が必要です。 したがって、URLは `/files/home/johndoe/myfile.txt` の様になります。 ### OpenAPIサポート OpenAPIはテストや定義が困難なシナリオにつながる可能性があるため、内部に*パス*を含む*パスパラメータ*の宣言をサポートしていません。 それにも関わらず、Starletteの内部ツールのひとつを使用することで、**FastAPI**はそれが実現できます。
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 10.4K bytes - Viewed (0) -
docs/pt/docs/tutorial/security/oauth2-jwt.md
Usando as credenciais: Username: `johndoe` Password: `secret` /// check | Verifique Observe que em nenhuma parte do código está a senha em texto puro "`secret`", nós temos apenas o hash. /// <img src="/img/tutorial/security/image08.png"> Chame o endpoint `/users/me/`, você receberá o retorno como: ```JSON { "username": "johndoe", "email": "******@****.***",
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Nov 12 16:23:57 UTC 2025 - 11.4K bytes - Viewed (0) -
docs/zh/docs/tutorial/security/simple-oauth2.md
点击**Authorize**按钮。 使用以下凭证: 用户名:`johndoe` 密码:`secret` <img src="https://fastapi.tiangolo.com/img/tutorial/security/image04.png"> 通过身份验证后,显示下图所示的内容: <img src="https://fastapi.tiangolo.com/img/tutorial/security/image05.png"> ### 获取当前用户数据 使用 `/users/me` 路径的 `GET` 操作。 可以提取如下当前用户数据: ```JSON { "username": "johndoe", "email": "******@****.***",
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 8.6K bytes - Viewed (0) -
tests/test_tutorial/test_path_operation_configurations/test_tutorial002.py
def test_get_users(client: TestClient): response = client.get("/users/") assert response.status_code == 200, response.text assert response.json() == [{"username": "johndoe"}] def test_openapi_schema(client: TestClient): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == { "openapi": "3.1.0",
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 7.6K bytes - Viewed (0) -
tests/test_tutorial/test_body_multiple_params/test_tutorial005.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 8.2K bytes - Viewed (0) -
docs/ko/docs/tutorial/security/simple-oauth2.md
"Authorize" 버튼을 눌러봅시다. 자격 증명을 사용합니다. 유저명: `johndoe` 패스워드: `secret` <img src="/img/tutorial/security/image04.png"> 시스템에서 인증하면 다음과 같이 표시됩니다: <img src="/img/tutorial/security/image05.png"> ### 자신의 유저 데이터 가져오기 이제 `/users/me` 경로에 `GET` 작업을 진행합시다. 다음과 같은 사용자 데이터를 얻을 수 있습니다: ```JSON { "username": "johndoe", "email": "johndoe@example.com", "full_name": "John Doe",
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Feb 15 11:19:12 UTC 2025 - 10.8K bytes - Viewed (0) -
docs/ko/docs/tutorial/security/oauth2-jwt.md
이전과 같은 방법으로 애플리케이션에 인증하십시오. 다음 인증 정보를 사용하십시오: Username: `johndoe` Password: `secret` /// check 코드 어디에도 평문 패스워드 "`secret`" 이 없다는 점에 유의하십시오. 해시된 버전만 있습니다. /// <img src="/img/tutorial/security/image08.png"> `/users/me/` 를 호출하면 다음과 같은 응답을 얻을 수 있습니다: ```JSON { "username": "johndoe", "email": "johndoe@example.com", "full_name": "John Doe", "disabled": false }
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 12.2K bytes - Viewed (0)