- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 639 for password2 (0.1 seconds)
-
tests/test_security_http_basic_realm.py
return {"username": credentials.username, "password": credentials.password} client = TestClient(app) def test_security_http_basic(): response = client.get("/users/me", auth=("john", "secret")) assert response.status_code == 200, response.text assert response.json() == {"username": "john", "password": "secret"} def test_security_http_basic_no_credentials():Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 2.7K bytes - Click Count (0) -
docs_src/security/tutorial006_py310.py
app = FastAPI() security = HTTPBasic() @app.get("/users/me") def read_current_user(credentials: HTTPBasicCredentials = Depends(security)):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 321 bytes - Click Count (0) -
internal/event/target/nats_contrib_test.go
opts.Port = 14223 opts.Username = "testminio" opts.Password = "miniotest" s := natsserver.RunServer(&opts) defer s.Shutdown() clientConfig := &NATSArgs{ Enable: true, Address: xnet.Host{ Name: "localhost", Port: (xnet.Port(opts.Port)), IsPortSet: true, }, Subject: "test", Username: opts.Username, Password: opts.Password, } con, err := clientConfig.connectNats()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Apr 27 04:30:57 GMT 2025 - 3K bytes - Click Count (0) -
internal/event/target/postgresql.go
Port string `json:"port"` // default: 5432 Username string `json:"username"` // default: user running minio Password string `json:"password"` // default: no password Database string `json:"database"` // default: same as user QueueDir string `json:"queueDir"` QueueLimit uint64 `json:"queueLimit"`
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 13.3K bytes - Click Count (0) -
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) -
docs/bucket/notifications/README.md
ARGS: broker* (uri) MQTT server endpoint e.g. `tcp://localhost:1883` topic* (string) name of the MQTT topic to publish username (string) MQTT username password (string) MQTT password qos (number) set the quality of service priority, defaults to '0' keep_alive_interval (duration) keep-alive interval for MQTT connections in s,m,h,d
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 84.2K 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) -
src/test/java/org/codelibs/fess/ldap/LdapUtilTest.java
assertEquals("\\2a\\29\\28uid=\\2a\\29\\29\\28|\\28uid=\\2a", LdapUtil.escapeValue("*)(uid=*))(|(uid=*")); // Test complex injection: admin)(&(password=*)) assertEquals("admin\\29\\28&\\28password=\\2a\\29\\29", LdapUtil.escapeValue("admin)(&(password=*))")); } @Test public void test_escapeValue_allSpecialCharsInSequence() { assertEquals("\\5c\\2a\\28\\29\\00", LdapUtil.escapeValue("\\*()\0"));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 4.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/SystemUtilTest.java
assertEquals("********", SystemUtil.maskSensitiveValue("password", "secret")); assertEquals("********", SystemUtil.maskSensitiveValue("PASSWORD", "secret")); assertEquals("********", SystemUtil.maskSensitiveValue("Password", "secret")); assertEquals("********", SystemUtil.maskSensitiveValue("PaSsWoRd", "secret")); } @Test public void test_maskSensitiveValue_emptyValue() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 17.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/user/cbean/cq/bs/BsUserCQ.java
TermQueryBuilder builder = regTermQ("password", password); if (opLambda != null) { opLambda.callback(builder); } } public void setPassword_NotEqual(String password) { setPassword_NotTerm(password, null); } public void setPassword_NotTerm(String password) { setPassword_NotTerm(password, null);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 326.2K bytes - Click Count (0)