- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 307 for users6 (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs_src/bigger_applications/app_an_py310/routers/users.py
from fastapi import APIRouter router = APIRouter() @router.get("/users/", tags=["users"]) async def read_users(): return [{"username": "Rick"}, {"username": "Morty"}] @router.get("/users/me", tags=["users"]) async def read_user_me(): return {"username": "fakecurrentuser"} @router.get("/users/{username}", tags=["users"]) async def read_user(username: str):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 407 bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/service/UserService.java
* Handles user authentication setup and database persistence. * If the surname is blank, it will be set to the user's name. * * @param user the user entity to store */ public void store(final User user) { final String username = user.getName(); final boolean isUpdate = StringUtil.isNotBlank(user.getId()); if (logger.isDebugEnabled()) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 02 06:22:27 GMT 2026 - 9.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/chat/ChatClient.java
* @param userMessage the user's message * @param userId the user ID (can be null for anonymous users) * @return the chat response including session info and sources */ public ChatResult chat(final String sessionId, final String userMessage, final String userId) { return chat(sessionId, userMessage, userId, Collections.emptyMap(), new String[0]); } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 56.6K bytes - Click Count (0) -
docs/en/docs/tutorial/security/get-current-user.md
# Get Current User { #get-current-user } In the previous chapter the security system (which is based on the dependency injection system) was giving the *path operation function* a `token` as a `str`: {* ../../docs_src/security/tutorial001_an_py310.py hl[12] *} But that is still not that useful. Let's make it give us the current user. ## Create a user model { #create-a-user-model } First, let's create a Pydantic user model.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/user/exentity/User.java
import org.codelibs.fess.Constants; import org.codelibs.fess.entity.FessUser; import org.codelibs.fess.mylasta.direction.FessConfig; import org.codelibs.fess.opensearch.user.bsentity.BsUser; import org.codelibs.fess.util.ComponentUtil; /** * @author FreeGen */ public class User extends BsUser implements FessUser { private static final long serialVersionUID = 1L; private String originalPassword;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 02 06:22:27 GMT 2026 - 4.1K bytes - Click Count (0) -
docs/en/docs/advanced/strict-content-type.md
As it's running **locally**, and not in the open internet, you decide to **not have any authentication** set up, just trusting the access to the local network. Then one of your users could install it and run it locally. Then they could open a malicious website, e.g. something like ``` https://evilhackers.example.com ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Feb 23 17:45:20 GMT 2026 - 3.2K bytes - Click Count (0) -
docs/en/docs/tutorial/security/oauth2-jwt.md
That way, you can create a token with an expiration of, let's say, 1 week. And then when the user comes back the next day with the token, you know that user is still logged in to your system.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 10.7K bytes - Click Count (0) -
docs/es/docs/tutorial/dependencies/index.md
Esto será especialmente útil cuando lo uses en una **gran code base** donde uses **las mismas dependencias** una y otra vez en **muchas *path operations***. ## Usar `async` o no usar `async` { #to-async-or-not-to-async }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 10K bytes - Click Count (0) -
docs/fr/docs/tutorial/security/get-current-user.md
## Récupérer l'utilisateur { #get-the-user } `get_current_user` utilisera une fonction utilitaire (factice) que nous avons créée, qui prend un token en `str` et retourne notre modèle Pydantic `User` : {* ../../docs_src/security/tutorial002_an_py310.py hl[19:22,26:27] *} ## Injecter l'utilisateur actuel { #inject-the-current-user }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:12:41 GMT 2026 - 4.8K bytes - Click Count (0) -
tests/migrate_test.go
t.Fatalf("no view should be created, got %v", err) } query := DB.Model(&User{}). Select("users.id as users_id, users.name as users_name, pets.id as pets_id, pets.name as pets_name"). Joins("inner join pets on pets.user_id = users.id") if err := DB.Migrator().CreateView("users_pets", gorm.ViewOption{Query: query}); err != nil {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:49:01 GMT 2026 - 66.3K bytes - Click Count (0)