- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 495 for usernames (0.23 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/test_security_oauth2.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 9.8K bytes - Click Count (0) -
tests/test_security_oauth2_optional_description.py
} }, description="OAuth2 security scheme", auto_error=False, ) class User(BaseModel): username: str def get_current_user(oauth_header: str | None = Security(reusable_oauth2)): if oauth_header is None: return None user = User(username=oauth_header) return user @app.post("/login") def login(form_data: OAuth2PasswordRequestFormStrict = Depends()):Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 9.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/base/login/SpnegoCredential.java
*/ public SpnegoCredential(final String username) { this.username = username; } /** * Gets the user identifier from this credential. * * @return The username from SPNEGO authentication */ @Override public String getUserId() { return username; } /** * Returns a string representation of this credential. *Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.9K bytes - Click Count (1) -
tests/test_multipart_installation.py
with pytest.raises(RuntimeError, match=multipart_incorrect_install_error): app = FastAPI() @app.post("/") async def root(username: str = Form()): return username # pragma: nocover def test_incorrect_multipart_installed_file_upload(monkeypatch): monkeypatch.setattr("python_multipart.__version__", "0.0.12") with warnings.catch_warnings(record=True):
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/tutorial003_py310.py
oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token") class User(BaseModel): username: str email: str | None = None full_name: str | None = None disabled: bool | None = None class UserInDB(User): hashed_password: str def get_user(db, username: str): if username in db: user_dict = db[username] return UserInDB(**user_dict) def fake_decode_token(token):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Nov 24 19:03:06 GMT 2025 - 2.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsWebAuthenticationCQ.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 - 95.5K bytes - Click Count (1) -
src/main/java/jcifs/util/AuthenticationRateLimiter.java
} /** * Record successful authentication * * @param username the username * @param sourceIp the source IP */ public void recordSuccess(String username, String sourceIp) { if (username != null) { AccountAttempts account = accountAttempts.get(username); if (account != null) { account.reset(); } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.1K bytes - Click Count (0) -
tests/test_schema_compat_pydantic_v2.py
class User(BaseModel): username: str role: PlatformRole | OtherRole @app.get("/users") async def get_user() -> User: return {"username": "alice", "role": "admin"} client = TestClient(app) return client @needs_py310 def test_get(client: TestClient): response = client.get("/users") assert response.json() == {"username": "alice", "role": "admin"}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Mar 23 12:36:49 GMT 2026 - 4.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/base/login/FessLoginAssist.java
} /** * Finds a login user by username. * * @param username the username to search for * @return an optional entity containing the found user, or empty if not found */ @Override protected OptionalEntity<FessUser> doFindLoginUser(final String username) { return userBhv.selectEntity(cb -> { cb.query().setName_Equal(username); }).map(user -> (FessUser) user); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 12.1K bytes - Click Count (0) -
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)