- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 1,130 for myuser (0.04 seconds)
-
tests/test_tutorial/test_body_multiple_params/test_tutorial004.py
"required": ["item", "user", "importance"], "type": "object", "properties": { "item": {"$ref": "#/components/schemas/Item"}, "user": {"$ref": "#/components/schemas/User"}, "importance": { "title": "Importance",
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 10K bytes - Click Count (0) -
tests/test_dependency_security_overrides.py
response = client.get("/user") assert response.json() == { "user": "john", "scopes": ["foo", "bar"], "data": [3, 4, 5], } app.dependency_overrides = {} def test_override_security(): app.dependency_overrides[get_user] = get_user_override response = client.get("/user") assert response.json() == { "user": "alice", "scopes": ["foo", "bar"],
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1.4K bytes - Click Count (1) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Prompter.java
import org.apache.maven.api.annotations.Nullable; /** * Service used to interact with the end user. * * @since 4.0.0 */ @Experimental public interface Prompter extends Service { /** * Prompts the user for a string. * * @param message the message to display to the user * @return the string entered by the user * @throws PrompterException if an exception occurs */ @NonnullCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Nov 17 15:52:15 GMT 2023 - 3.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java
assertNotNull(exception); assertEquals("User is not found: null", exception.getMessage()); assertNull(exception.getCause()); } @Test public void test_constructor_withSpecialCharacters() { // Test with username containing special characters String username = "user@domain.com"; FessUserNotFoundException exception = new FessUserNotFoundException(username);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 6.8K bytes - Click Count (0) -
docs/sts/ldap.md
- The user can now use these credentials to make requests to the MinIO server. The administrator will associate IAM access policies with each group and if required with the user too. The MinIO server then evaluates applicable policies on a user (these are the policies associated with the groups along with the policy on the user if any) to check if the request should be allowed or denied.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 18.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/UserAgentHelperTest.java
@Test public void test_getUserAgentType_IE9() { getMockRequest().addHeader("user-agent", "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.0; Trident/5.0)"); assertEquals(UserAgentType.IE, userAgentHelper.getUserAgentType()); } @Test public void test_getUserAgentType_IE10() { getMockRequest().addHeader("user-agent", "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 7.5K bytes - Click Count (0) -
docs_src/security/tutorial005_py310.py
return UserInDB(**user_dict) def authenticate_user(fake_db, username: str, password: str): user = get_user(fake_db, username) if not user: verify_password(password, DUMMY_HASH) return False if not verify_password(password, user.hashed_password): return False return user def create_access_token(data: dict, expires_delta: timedelta | None = None): to_encode = data.copy()
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 18:10:35 GMT 2026 - 5.3K bytes - Click Count (0) -
docs_src/security/tutorial004_py310.py
raise credentials_exception user = get_user(fake_users_db, username=token_data.username) if user is None: raise credentials_exception return user async def get_current_active_user(current_user: User = Depends(get_current_user)): if current_user.disabled: raise HTTPException(status_code=400, detail="Inactive user") return current_user @app.post("/token")Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 18:10:35 GMT 2026 - 4.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java
return OptionalEntity.empty(); } /** * Returns the user entity based on the provided form data, applying any necessary transformations. * * @param form the form containing user data for retrieval and update * @return optional user entity populated from the form */ public static OptionalEntity<User> getUser(final CreateForm form) { return getEntity(form).map(entity -> {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 02 06:18:24 GMT 2026 - 21K bytes - Click Count (0) -
tests/test_response_model_data_filter.py
@app.post("/users/", response_model=UserBase) async def create_user(user: UserCreate): return user @app.get("/pets/{pet_id}", response_model=PetOut) async def read_pet(pet_id: int): user = UserDB( email="******@****.***", hashed_password="secrethashed", ) pet = PetDB(name="Nibbler", owner=user) return pet @app.get("/pets/", response_model=list[PetOut])
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1.7K bytes - Click Count (0)