- Sort Score
- Num 10 results
- Language All
Results 191 - 200 of 712 for user$name (0.07 seconds)
-
tests/test_security_http_basic_realm_description.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"}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 2.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/AdminDuplicatehostAction.java
* * @param form the form containing duplicate host data * @param username the current username * @param currentTime the current timestamp * @return optional duplicate host entity */ public static OptionalEntity<DuplicateHost> getEntity(final CreateForm form, final String username, final long currentTime) { switch (form.crudMode) { case CrudMode.CREATE:Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 13:56:35 GMT 2025 - 15.6K bytes - Click Count (0) -
internal/config/identity/ldap/ldap.go
conn, err := l.LDAP.Connect() if err != nil { return nil, err } defer conn.Close() // Bind to the lookup user account if err = l.LDAP.LookupBind(conn); err != nil { return nil, err } // Check if the passed in username is a valid DN. if !l.ParsesAsDN(username) { // We consider it as a login username and attempt to check it exists in // the directory.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jul 12 01:04:53 GMT 2024 - 12.4K bytes - Click Count (1) -
build-tools-internal/src/main/groovy/elasticsearch.authenticated-testclusters.gradle
* Side Public License, v 1. */ import org.elasticsearch.gradle.testclusters.StandaloneRestIntegTestTask def clusterCredentials = [ username: providers.systemProperty('tests.rest.cluster.username') .forUseAtConfigurationTime() .getOrElse('test_admin'), password: providers.systemProperty('tests.rest.cluster.password')Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 20 11:25:54 GMT 2021 - 1.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt
assertThat(parse("http://username:@host/path")) .isEqualTo(parse("http://username@host/path")) } @Test fun passwordWithEmptyUsername() { // Chrome doesn't mind, but Firefox rejects URLs with empty usernames and non-empty passwords. assertThat(parse("http://:@host/path")) .isEqualTo(parse("http://host/path")) assertThat(parse("http://:password@@host/path").encodedPassword)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Aug 04 07:38:48 GMT 2025 - 69.9K bytes - Click Count (0) -
tests/test_security_openid_connect_optional.py
app = FastAPI() oid = OpenIdConnect(openIdConnectUrl="/openid", auto_error=False) class User(BaseModel): username: str def get_current_user(oauth_header: str | None = Security(oid)): if oauth_header is None: return None user = User(username=oauth_header) return user @app.get("/users/me") def read_current_user(current_user: User | None = Depends(get_current_user)):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 2.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsFileAuthenticationCQ.java
TermQueryBuilder builder = regTermQ("username", username); if (opLambda != null) { opLambda.callback(builder); } } public void setUsername_NotEqual(String username) { setUsername_NotTerm(username, null); } public void setUsername_NotTerm(String username) { setUsername_NotTerm(username, null);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 88.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/keymatch/AdminKeymatchAction.java
* * @param form the create form * @param username the current username * @param currentTime the current time * @return optional key match entity */ public static OptionalEntity<KeyMatch> getEntity(final CreateForm form, final String username, final long currentTime) { switch (form.crudMode) { case CrudMode.CREATE:Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 13:56:35 GMT 2025 - 16.2K bytes - Click Count (0) -
docs/en/docs/tutorial/security/first-steps.md
So, let's review it from that simplified point of view: * The user types the `username` and `password` in the frontend, and hits `Enter`. * The frontend (running in the user's browser) sends that `username` and `password` to a specific URL in our API (declared with `tokenUrl="token"`). * The API checks that `username` and `password`, and responds with a "token" (we haven't implemented any of this yet).
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 07 09:29:03 GMT 2026 - 8.3K bytes - Click Count (0) -
docs/fr/docs/tutorial/security/first-steps.md
Voyons cela selon ce point de vue simplifié : - L'utilisateur saisit le `username` et le `password` dans le frontend, puis appuie sur Entrée. - Le frontend (exécuté dans le navigateur de l'utilisateur) envoie ce `username` et ce `password` vers une URL spécifique de notre API (déclarée avec `tokenUrl="token"`). - L'API vérifie ce `username` et ce `password`, et répond avec un « token » (nous n'avons encore rien implémenté de tout cela).
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 9.3K bytes - Click Count (0)