- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 596 for user_me (0.76 seconds)
-
src/main/java/jcifs/smb/JAASAuthenticator.java
* JAAS configuration name * @param domain the domain for authentication * @param username the username for authentication * @param password the password for authentication */ public JAASAuthenticator(String serviceName, String domain, String username, String password) { super(null, domain, username, password); this.serviceName = serviceName; } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 8.3K bytes - Click Count (1) -
docs_src/security/tutorial007_py310.py
status_code=status.HTTP_401_UNAUTHORIZED, detail="Incorrect username or password", headers={"WWW-Authenticate": "Basic"}, ) return credentials.username @app.get("/users/me") def read_current_user(username: str = Depends(get_current_username)):Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 1.1K bytes - Click Count (0) -
docs_src/security/tutorial007_an_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 1.1K bytes - Click Count (0) -
tests/test_tutorial/test_body_multiple_params/test_tutorial004.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 10K bytes - Click Count (0) -
tests/test_param_in_path_and_dependency.py
from fastapi import Depends, FastAPI from fastapi.testclient import TestClient from inline_snapshot import snapshot app = FastAPI() async def user_exists(user_id: int): return True @app.get("/users/{user_id}", dependencies=[Depends(user_exists)]) async def read_users(user_id: int): pass client = TestClient(app) def test_read_users(): response = client.get("/users/42")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 3.6K bytes - Click Count (0) -
docs_src/path_params/tutorial003_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 236 bytes - Click Count (0) -
docs/uk/docs/tutorial/security/simple-oauth2.md
## Отримайте `username` і `password` { #get-the-username-and-password } Ми використаємо утиліти безпеки **FastAPI**, щоб отримати `username` і `password`. OAuth2 визначає, що під час використання «потоку паролю» (який ми використовуємо) клієнт/користувач має надіслати поля `username` і `password` як дані форми.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 15K bytes - Click Count (0) -
tests/test_forms_single_model.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 3.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/base/login/EntraIdCredential.java
final String username = account.username(); if (logger.isDebugEnabled()) { logger.debug("homeAccountId={}, username={}", homeAccountId, username); } permissionSet.add(systemHelper.getSearchRoleByUser(homeAccountId)); permissionSet.add(systemHelper.getSearchRoleByUser(username));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 7.8K bytes - Click Count (0) -
tests/test_forms_single_param.py
from fastapi.testclient import TestClient from inline_snapshot import snapshot app = FastAPI() @app.post("/form/") def post_form(username: Annotated[str, Form()]): return username client = TestClient(app) def test_single_form_field(): response = client.post("/form/", data={"username": "Rick"}) assert response.status_code == 200, response.text assert response.json() == "Rick"
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 4.1K bytes - Click Count (0)