Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,040 for userTime (0.32 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthentication.java

            return port;
        }
    
        public void setPort(final int port) {
            this.port = port;
        }
    
        public String getUsername() {
            return username;
        }
    
        public void setUsername(final String username) {
            this.username = username;
        }
    
        public String getPassword() {
            return password;
        }
    
        public void setPassword(final String password) {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/config/exentity/DataConfig.java

                        final String username = paramMap.get(CRAWLER_FILE_AUTH + "." + fileAuthName + ".username");
                        final String password = paramMap.get(CRAWLER_FILE_AUTH + "." + fileAuthName + ".password");
    
                        if (StringUtil.isEmpty(username)) {
                            logger.warn("username is empty. fileAuth:{}", fileAuthName);
                            continue;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu May 09 09:48:04 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  3. tests/test_security_api_key_header_description.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    api_key = APIKeyHeader(name="key", description="An API Key Header")
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: str = Security(api_key)):
        user = User(username=oauth_header)
        return user
    
    
    @app.get("/users/me")
    def read_current_user(current_user: User = Depends(get_current_user)):
        return current_user
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. src/os/user/user_test.go

    		t.Errorf("didn't get a HomeDir")
    	}
    	if u.Username == "" {
    		t.Errorf("didn't get a username")
    	}
    }
    
    func BenchmarkCurrent(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		Current()
    	}
    }
    
    func compare(t *testing.T, want, got *User) {
    	if want.Uid != got.Uid {
    		t.Errorf("got Uid=%q; want %q", got.Uid, want.Uid)
    	}
    	if want.Username != got.Username {
    		t.Errorf("got Username=%q; want %q", got.Username, want.Username)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 15:59:43 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/security/simple-oauth2.md

    ## `username` und `password` entgegennehmen
    
    Wir werden **FastAPIs** Sicherheits-Werkzeuge verwenden, um den `username` und das `password` entgegenzunehmen.
    
    OAuth2 spezifiziert, dass der Client/Benutzer bei Verwendung des „Password Flow“ (den wir verwenden) die Felder `username` und `password` als Formulardaten senden muss.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 18:08:44 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  6. src/os/user/cgo_lookup_unix.go

    	"strings"
    	"syscall"
    	"unsafe"
    )
    
    func current() (*User, error) {
    	return lookupUnixUid(syscall.Getuid())
    }
    
    func lookupUser(username string) (*User, error) {
    	var pwd _C_struct_passwd
    	var found bool
    	nameC := make([]byte, len(username)+1)
    	copy(nameC, username)
    
    	err := retryWithBuffer(userBuffer, func(buf []byte) syscall.Errno {
    		var errno syscall.Errno
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:08:14 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. tests/test_webhooks_security.py

                        "type": "object",
                        "title": "HTTPValidationError",
                    },
                    "Subscription": {
                        "properties": {
                            "username": {"type": "string", "title": "Username"},
                            "monthly_fee": {"type": "number", "title": "Monthly Fee"},
                            "start_date": {
                                "type": "string",
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Oct 20 09:00:44 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  8. docs_src/configure_swagger_ui/tutorial001.py

    from fastapi import FastAPI
    
    app = FastAPI(swagger_ui_parameters={"syntaxHighlight": False})
    
    
    @app.get("/users/{username}")
    async def read_user(username: str):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Aug 19 19:54:04 UTC 2023
    - 205 bytes
    - Viewed (0)
  9. tests/test_security_api_key_query_description.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    api_key = APIKeyQuery(name="key", description="API Key Query")
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: str = Security(api_key)):
        user = User(username=oauth_header)
        return user
    
    
    @app.get("/users/me")
    def read_current_user(current_user: User = Depends(get_current_user)):
        return current_user
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/UserService.java

            });
    
        }
    
        public void changePassword(final String username, final String password) {
            final boolean changed = ComponentUtil.getAuthenticationManager().changePassword(username, password);
            if (changed) {
                userBhv.selectEntity(cb -> cb.query().setName_Equal(username)).ifPresent(entity -> {
                    final String encodedPassword = fessLoginAssist.encryptPassword(password);
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top