- Sort Score
- Num 10 results
- Language All
Results 171 - 180 of 643 for PASSWORD (0.05 seconds)
-
docs_src/security/tutorial007_py310.py
current_password_bytes = credentials.password.encode("utf8") correct_password_bytes = b"swordfish" is_correct_password = secrets.compare_digest( current_password_bytes, correct_password_bytes ) if not (is_correct_username and is_correct_password): raise HTTPException( status_code=status.HTTP_401_UNAUTHORIZED, detail="Incorrect username or password",
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_multipart_installation.py
with pytest.raises(RuntimeError, match=multipart_incorrect_install_error): app = FastAPI() @app.post("/") async def root(username: str = Form(), password: str = Form()): return username # pragma: nocover def test_incorrect_multipart_installed_form_file(monkeypatch): monkeypatch.setattr("python_multipart.__version__", "0.0.12")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Oct 27 21:46:26 GMT 2024 - 5.7K bytes - Click Count (0) -
docs_src/security/tutorial007_an_py310.py
current_password_bytes = credentials.password.encode("utf8") correct_password_bytes = b"swordfish" is_correct_password = secrets.compare_digest( current_password_bytes, correct_password_bytes ) if not (is_correct_username and is_correct_password): raise HTTPException( status_code=status.HTTP_401_UNAUTHORIZED, detail="Incorrect username or password",
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) -
internal/event/target/nats.go
return errors.New("cert and key must be specified as a pair") } if n.Username != "" && n.Password == "" || n.Username == "" && n.Password != "" { return errors.New("username and password must be specified as a pair") } if n.Streaming.Enable { if n.Streaming.ClusterID == "" { return errors.New("empty cluster id") } }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Apr 27 04:30:57 GMT 2025 - 13.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/Kerb5Authenticator.java
* domain for NTLM fallback * @param username * user for NTLM fallback * @param password * password for NTLM fallback */ public Kerb5Authenticator(Subject subject, String domain, String username, String password) { super(domain, username, password); this.canFallback = true; this.subject = subject; } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 13.2K bytes - Click Count (0) -
src/main/resources/fess_indices/fess_user.user/user.bulk
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 12 13:23:26 GMT 2023 - 166 bytes - Click Count (0) -
cmd/sftp-server_test.go
_, err = sshPasswordAuth(newSSHCon, []byte("dillon")) if err != nil { c.Fatal("Password authentication failed for user (dillon):", err) } newSSHCon = newSSHConnMock("dillon") _, err = sshPasswordAuth(newSSHCon, []byte("dillon")) if err != nil { c.Fatal("Password authentication failed for user (dillon):", err) } } { userDN := "uid=fahim,ou=people,ou=swengg,dc=min,dc=io"
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Feb 27 18:43:32 GMT 2025 - 9.7K bytes - Click Count (0) -
docs_src/request_forms/tutorial001_an_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 223 bytes - Click Count (0) -
docs_src/request_forms/tutorial001_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 173 bytes - Click Count (0) -
docs_src/response_model/tutorial003_py310.py
from typing import Any from fastapi import FastAPI from pydantic import BaseModel, EmailStr app = FastAPI() class UserIn(BaseModel): username: str password: str email: EmailStr full_name: str | None = None class UserOut(BaseModel): username: str email: EmailStr full_name: str | None = None @app.post("/user/", response_model=UserOut) async def create_user(user: UserIn) -> Any:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Jan 07 13:45:48 GMT 2023 - 431 bytes - Click Count (0)