- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 426 for secret2 (0.05 seconds)
-
tests/test_response_model_as_return_annotation.py
return DBUser(name="John", surname="Doe", password_hash="secret") @app.get("/response_model_list_of_model-no_annotation", response_model=list[User]) def response_model_list_of_model_no_annotation(): return [ DBUser(name="John", surname="Doe", password_hash="secret"), DBUser(name="Jane", surname="Does", password_hash="secret2"), ]
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 50.3K bytes - Click Count (0) -
docs/en/docs/tutorial/security/simple-oauth2.md
```JSON { "detail": "Not authenticated" } ``` ### Inactive user { #inactive-user } Now try with an inactive user, authenticate with: User: `alice` Password: `secret2` And try to use the operation `GET` with the path `/users/me`. You will get an "Inactive user" error, like: ```JSON { "detail": "Inactive user" } ``` ## Recap { #recap }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 9.4K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/security/simple-oauth2.md
如果你點擊鎖頭圖示登出,然後再次嘗試相同操作,你會得到 HTTP 401 錯誤: ```JSON { "detail": "Not authenticated" } ``` ### 未啟用的使用者 { #inactive-user } 現在改用一個未啟用的使用者,使用以下帳密驗證: User: `alice` Password: `secret2` 然後再呼叫 `GET` 方法的 `/users/me`。 你會得到「Inactive user」的錯誤,例如: ```JSON { "detail": "Inactive user" } ``` ## 小結 { #recap }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 9.1K bytes - Click Count (0) -
docs/zh/docs/tutorial/security/simple-oauth2.md
点击小锁图标,注销后,再执行同样的操作,则会得到 HTTP 401 错误: ```JSON { "detail": "Not authenticated" } ``` ### 未激活用户 { #inactive-user } 测试未激活用户,输入以下信息,进行身份验证: 用户名:`alice` 密码:`secret2` 然后,执行 `/users/me` 路径的 `GET` 操作。 显示下列**未激活用户**错误信息: ```JSON { "detail": "Inactive user" } ``` ## 小结 { #recap } 使用本章的工具实现基于 `username` 和 `password` 的完整 API 安全系统。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 9K bytes - Click Count (0) -
docs/ja/docs/tutorial/security/simple-oauth2.md
```JSON { "detail": "Not authenticated" } ``` ### 非アクティブユーザー { #inactive-user } 今度は非アクティブなユーザーで試してみます。次で認証してください: User: `alice` Password: `secret2` そして `GET` の path `/users/me` を使います。 次のような「Inactive user」エラーになります: ```JSON { "detail": "Inactive user" } ``` ## まとめ { #recap }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 12.1K bytes - Click Count (0) -
docs/tr/docs/tutorial/security/simple-oauth2.md
```JSON { "detail": "Not authenticated" } ``` ### Pasif Kullanıcı { #inactive-user } Şimdi pasif bir kullanıcıyla deneyin; şu bilgilerle authenticate olun: User: `alice` Password: `secret2` Ve `/users/me` path’inde `GET` operasyonunu kullanmayı deneyin. Şöyle bir "Inactive user" hatası alırsınız: ```JSON { "detail": "Inactive user" } ``` ## Özet { #recap }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 10.4K bytes - Click Count (0) -
docs/uk/docs/tutorial/security/simple-oauth2.md
```JSON { "detail": "Not authenticated" } ``` ### Неактивний користувач { #inactive-user } Тепер спробуйте з неактивним користувачем, автентифікуйтеся з: Користувач: `alice` Пароль: `secret2` І спробуйте використати операцію `GET` зі шляхом `/users/me`. Ви отримаєте помилку «Inactive user», наприклад: ```JSON { "detail": "Inactive user" } ``` ## Підсумок { #recap }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 15K bytes - Click Count (0) -
docs/ru/docs/tutorial/security/simple-oauth2.md
{ "detail": "Not authenticated" } ``` ### Неактивный пользователь { #inactive-user } Теперь попробуйте с неактивным пользователем, аутентифицируйтесь с: Пользователь: `alice` Пароль: `secret2` И попробуйте использовать операцию `GET` с путём `/users/me`. Вы получите ошибку "Inactive user", как здесь: ```JSON { "detail": "Inactive user" } ``` ## Резюме { #recap }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 16.2K bytes - Click Count (0) -
docs/de/docs/tutorial/security/simple-oauth2.md
} ``` ### Inaktiver Benutzer { #inactive-user } Versuchen Sie es nun mit einem inaktiven Benutzer und authentisieren Sie sich mit: Benutzer: `alice`. Passwort: `secret2`. Und versuchen Sie, die Operation `GET` mit dem Pfad `/users/me` zu verwenden. Sie erhalten die Fehlermeldung „Inactive user“: ```JSON { "detail": "Inactive user" } ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 11.1K bytes - Click Count (0) -
docs/es/docs/tutorial/security/simple-oauth2.md
```JSON { "detail": "Not authenticated" } ``` ### Usuario inactivo { #inactive-user } Ahora prueba con un usuario inactivo, autentícate con: Usuario: `alice` Contraseña: `secret2` Y trata de usar la operación `GET` con la path `/users/me`. Obtendrás un error de "Usuario inactivo", como: ```JSON { "detail": "Inactive user" } ``` ## Recapitulación { #recap }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 10.2K bytes - Click Count (0)