Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 559 for user_me (0.05 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/relatedcontent/AdminRelatedcontentAction.java

            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            final String username = systemHelper.getUsername();
            final long currentTime = systemHelper.getCurrentTimeAsLong();
            return getEntity(form, username, currentTime).map(entity -> {
                entity.setUpdatedBy(username);
                entity.setUpdatedTime(currentTime);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  2. cmd/sftp-server_test.go

    	return []byte{}
    }
    
    func (m *MockConnMeta) RemoteAddr() net.Addr {
    	return nil
    }
    
    func (m *MockConnMeta) LocalAddr() net.Addr {
    	return nil
    }
    
    func newSSHConnMock(username string) ssh.ConnMetadata {
    	return &MockConnMeta{username: username}
    }
    
    func TestSFTPAuthentication(t *testing.T) {
    	for i, testCase := range iamTestSuites {
    		t.Run(
    			fmt.Sprintf("Test: %d, ServerType: %s", i+1, testCase.ServerTypeDescription),
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Feb 27 18:43:32 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  3. docs_src/request_form_models/tutorial002_py39.py

    from fastapi import FastAPI, Form
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class FormData(BaseModel):
        username: str
        password: str
        model_config = {"extra": "forbid"}
    
    
    @app.post("/login/")
    async def login(data: FormData = Form()):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 267 bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/scheduler/AdminSchedulerAction.java

         * @param form the form containing the scheduled job data
         * @param username the username of the user performing the operation
         * @param currentTime the current timestamp
         * @return optional entity containing the scheduled job data, or empty if creation fails
         */
        private static OptionalEntity<ScheduledJob> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/CurlHelper.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String username = fessConfig.getFesenUsername();
            final String password = fessConfig.getFesenPassword();
            if (StringUtil.isNotBlank(username) && StringUtil.isNotBlank(password)) {
                final String value = username + ":" + password;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. docs_src/request_form_models/tutorial002_an_py39.py

    from typing import Annotated
    
    from fastapi import FastAPI, Form
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class FormData(BaseModel):
        username: str
        password: str
        model_config = {"extra": "forbid"}
    
    
    @app.post("/login/")
    async def login(data: Annotated[FormData, Form()]):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Sep 06 17:31:18 UTC 2024
    - 307 bytes
    - Viewed (0)
  7. docs/ko/docs/tutorial/path-params.md

    `/users/me`처럼, 현재 사용자의 데이터를 가져온다고 합시다.
    
    사용자 ID를 이용해 특정 사용자의 정보를 가져오는 경로 `/users/{user_id}`도 있습니다.
    
    *경로 작동*은 순차적으로 실행되기 때문에 `/users/{user_id}` 이전에 `/users/me`를 먼저 선언해야 합니다:
    
    {* ../../docs_src/path_params/tutorial003.py hl[6,11] *}
    
    그렇지 않으면 `/users/{user_id}`는 `/users/me` 요청 또한 매개변수 `user_id`의 값이 `"me"`인 것으로 "생각하게" 됩니다.
    
    ## 사전정의 값
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. docs_src/path_operation_configuration/tutorial006_py39.py

    app = FastAPI()
    
    
    @app.get("/items/", tags=["items"])
    async def read_items():
        return [{"name": "Foo", "price": 42}]
    
    
    @app.get("/users/", tags=["users"])
    async def read_users():
        return [{"username": "johndoe"}]
    
    
    @app.get("/elements/", tags=["items"], deprecated=True)
    async def read_elements():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 365 bytes
    - Viewed (0)
  9. docs_src/response_model/tutorial002_py39.py

    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel, EmailStr
    
    app = FastAPI()
    
    
    class UserIn(BaseModel):
        username: str
        password: str
        email: EmailStr
        full_name: Union[str, None] = None
    
    
    # Don't do this in production!
    @app.post("/user/")
    async def create_user(user: UserIn) -> UserIn:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 350 bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/fileauth/CreateForm.java

        /** The protocol scheme for file access (maximum 10 characters). */
        @Size(max = 10)
        public String protocolScheme;
    
        /** The username for file authentication (required, maximum 100 characters). */
        @Required
        @Size(max = 100)
        public String username;
    
        /** The password for file authentication (maximum 100 characters). */
        @Size(max = 100)
        public String password;
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top