- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 667 for user_name (0.05 seconds)
-
docs/de/docs/tutorial/security/simple-oauth2.md
## `username` und `password` entgegennehmen { #get-the-username-and-password } Wir werden **FastAPIs** Sicherheits-Werkzeuge verwenden, um den `username` und das `password` entgegenzunehmen. OAuth2 spezifiziert, dass der Client/Benutzer bei Verwendung des „Password Flow“ (den wir verwenden) die Felder `username` und `password` als Formulardaten senden muss.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/en/docs/tutorial/security/simple-oauth2.md
## Get the `username` and `password` { #get-the-username-and-password } We are going to use **FastAPI** security utilities to get the `username` and `password`. OAuth2 specifies that when using the "password flow" (that we are using) the client/user must send a `username` and `password` fields as form data.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/es/docs/tutorial/security/simple-oauth2.md
## Obtener el `username` y `password` { #get-the-username-and-password } Vamos a usar las utilidades de seguridad de **FastAPI** para obtener el `username` y `password`. OAuth2 especifica que cuando se utiliza el "password flow" (que estamos usando), el cliente/usuario debe enviar campos `username` y `password` como form data.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) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/config/CredentialsConfig.java
this.type = type; } /** * Gets the username. * * @return the username */ public String getUsername() { return username; } /** * Sets the username. * * @param username the username */ public void setUsername(final String username) { this.username = username; } /** * Gets the password. *Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Jan 08 14:22:26 GMT 2026 - 3.6K bytes - Click Count (0) -
docs_src/security/tutorial004_py310.py
payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM]) username = payload.get("sub") if username is None: raise credentials_exception token_data = TokenData(username=username) except InvalidTokenError: raise credentials_exception user = get_user(fake_users_db, username=token_data.username) if user is None: raise credentials_exception return user
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 18:10:35 GMT 2026 - 4.1K bytes - Click Count (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
String username = "resetuser"; String ip = "192.168.1.5"; // Two failures assertTrue(rateLimiter.checkAttempt(username, ip)); rateLimiter.recordFailure(username, ip); assertTrue(rateLimiter.checkAttempt(username, ip)); rateLimiter.recordFailure(username, ip); // Success should reset counter assertTrue(rateLimiter.checkAttempt(username, ip));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.8K bytes - Click Count (0) -
docs_src/security/tutorial005_py310.py
def get_password_hash(password): return password_hash.hash(password) def get_user(db, username: str): if username in db: user_dict = db[username] return UserInDB(**user_dict) def authenticate_user(fake_db, username: str, password: str): user = get_user(fake_db, username) if not user: verify_password(password, DUMMY_HASH) return False
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 18:10:35 GMT 2026 - 5.3K bytes - Click Count (0) -
tests/test_filter_pydantic_sub_model_pv2.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 6.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java
} } @Test @DisplayName("Test password stored as char array") void testPasswordStoredAsCharArray() throws Exception { authenticator = new NtlmPasswordAuthenticator("DOMAIN", "username", "password123"); // Use reflection to verify password is stored as char[] Field passwordField = NtlmPasswordAuthenticator.class.getDeclaredField("password"); passwordField.setAccessible(true);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 8.5K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/security/simple-oauth2.md
# 簡易 OAuth2:Password 與 Bearer { #simple-oauth2-with-password-and-bearer } 現在從上一章延伸,補上缺少的部分,完成整個安全流程。 ## 取得 `username` 與 `password` { #get-the-username-and-password } 我們要使用 **FastAPI** 提供的安全性工具來取得 `username` 與 `password`。 OAuth2 規範中,當使用「password flow」(我們現在使用的)時,用戶端/使用者必須以表單資料送出 `username` 與 `password` 欄位。 而且規範要求欄位名稱必須就是這兩個,所以像是 `user-name` 或 `email` 都不行。 但別擔心,你在前端要怎麼呈現給最終使用者都可以。 而你的資料庫模型也可以使用任何你想要的欄位名稱。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)