Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,040 for userTime (0.13 sec)

  1. tests/test_tutorial/test_security/test_tutorial003.py

        assert response.json() == {"detail": "Incorrect username or password"}
    
    
    def test_login_incorrect_username():
        response = client.post("/token", data={"username": "foo", "password": "secret"})
        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "Incorrect username or password"}
    
    
    def test_no_token():
        response = client.get("/users/me")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 8K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpResource.groovy

        @Override
        void expectGet() {
            server.expectGet(getPath(), file)
        }
    
        void allowGetOrHead(String userName, String password) {
            server.allowGetOrHead(getPath(), userName, password, file)
        }
    
        void expectGet(String userName, String password) {
            server.expectGet(getPath(), userName, password, file)
        }
    
        void expectGetBroken() {
            server.expectGetBroken(getPath())
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/idea/model/ProjectLibraryTest.groovy

        def "generates correct XML"() {
            def userHome = testDirProvider.testDirectory
    
            def lib = new ProjectLibrary(name: "lib",
                    classes: [new File(userHome, "class/one.jar"), new File(userHome, "class/two.jar")] as LinkedHashSet,
                    javadoc: [new File(userHome, "javadoc/one.jar"), new File(userHome, "javadoc/two.jar")] as LinkedHashSet,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  4. pkg/kubeapiserver/options/authentication_test.go

    		name         string
    		args         []string
    		expectConfig kubeauthenticator.Config
    	}{
    		{
    			name: "username prefix is '-'",
    			args: []string{
    				"--oidc-issuer-url=https://testIssuerURL",
    				"--oidc-client-id=testClientID",
    				"--oidc-username-claim=sub",
    				"--oidc-username-prefix=-",
    				"--oidc-signing-algs=RS256",
    				"--oidc-required-claim=foo=bar",
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 36.5K bytes
    - Viewed (0)
  5. maven-artifact/src/main/java/org/apache/maven/artifact/repository/Authentication.java

        }
    
        /**
         * Get the username used to access the repository.
         *
         * @return username at repository
         */
        public String getUsername() {
            return username;
        }
    
        /**
         * Set username used to access the repository.
         *
         * @param userName the username used to access repository
         */
        public void setUsername(final String userName) {
            this.username = userName;
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Nov 22 13:26:01 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

        public NtlmPasswordAuthenticator ( String domain, String username, String password, AuthenticationType type ) {
            if ( username != null ) {
                int ci = username.indexOf('@');
                if ( ci > 0 ) {
                    domain = username.substring(ci + 1);
                    username = username.substring(0, ci);
                }
                else {
                    ci = username.indexOf('\\');
                    if ( ci > 0 ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 18.8K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbAuthentication.java

        }
    
        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) {
            this.password = password;
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. platforms/core-execution/build-cache-http/src/main/java/org/gradle/caching/http/HttpBuildCacheCredentials.java

         *
         * @param username The user name. May be null.
         */
        @Override
        public void setUsername(@Nullable String username) {
            this.username = username;
        }
    
        /**
         * Returns the password to use when authenticating to the HTTP build cache.
         *
         * @return The password. May be null.
         */
        @Override
        @Nullable
        public String getPassword() {
            return password;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  9. cluster/gce/windows/testonly/install-ssh.psm1

        # this only splits on the first colon.
        $username, $key = $line -Split ":",2
    
        # Detect and skip keys without associated usernames, which may come back
        # from the legacy sshKeys metadata.
        if (($username -like "ssh-*") -or ($username -like "ecdsa-*")) {
          Write-Error "Skipping key without username: $username"
          continue
        }
        if (-not $users_to_keys.ContainsKey($username)) {
          $users_to_keys[$username] = @($key)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 09 05:09:18 UTC 2021
    - 11.6K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_security/test_tutorial003_an_py39.py

        assert response.json() == {"detail": "Incorrect username or password"}
    
    
    @needs_py39
    def test_login_incorrect_username(client: TestClient):
        response = client.post("/token", data={"username": "foo", "password": "secret"})
        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "Incorrect username or password"}
    
    
    @needs_py39
    def test_no_token(client: TestClient):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 8.4K bytes
    - Viewed (0)
Back to top