Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 429 for credentials (0.16 sec)

  1. docs/recipes.md

    Use `Response.challenges()` to get the schemes and realms of any authentication challenges. When fulfilling a `Basic` challenge, use `Credentials.basic(username, password)` to encode the request header.
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Feb 18 08:52:22 UTC 2022
    - 40.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/NtlmNtHashAuthenticator.java

    public class NtlmNtHashAuthenticator extends NtlmPasswordAuthenticator {
    
        private static final long serialVersionUID = 4328214169536360351L;
        private final byte[] ntHash;
    
    
        /**
         * Create username/password credentials with specified domain
         * 
         * @param domain
         * @param username
         * @param passwordHash
         *            NT password hash
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_security/test_tutorial005_py310.py

        response = client.get("/users/me", headers={"Authorization": "Bearer nonexistent"})
        assert response.status_code == 401, response.text
        assert response.json() == {"detail": "Could not validate credentials"}
        assert response.headers["WWW-Authenticate"] == 'Bearer scope="me"'
    
    
    @needs_py310
    def test_incorrect_token_type(client: TestClient):
        response = client.get(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_security/test_tutorial005_py39.py

        response = client.get("/users/me", headers={"Authorization": "Bearer nonexistent"})
        assert response.status_code == 401, response.text
        assert response.json() == {"detail": "Could not validate credentials"}
        assert response.headers["WWW-Authenticate"] == 'Bearer scope="me"'
    
    
    @needs_py39
    def test_incorrect_token_type(client: TestClient):
        response = client.get(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  5. cmd/test-utils_test.go

    	// Get credential.
    	credentials := globalActiveCred
    	if !globalReplicationPool.IsSet() {
    		globalReplicationPool.Set(nil)
    	}
    	testServer.Obj = objLayer
    	testServer.rawDiskPaths = disks
    	testServer.Disks = mustGetPoolEndpoints(0, disks...)
    	testServer.AccessKey = credentials.AccessKey
    	testServer.SecretKey = credentials.SecretKey
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/cors.md

    ## Wildcards
    
    It's also possible to declare the list as `"*"` (a "wildcard") to say that all are allowed.
    
    But that will only allow certain types of communication, excluding everything that involves credentials: Cookies, Authorization headers like those used with Bearer Tokens, etc.
    
    So, for everything to work correctly, it's better to specify explicitly the allowed origins.
    
    ## Use `CORSMiddleware`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. helm/minio/templates/deployment.yaml

                {{- if .Values.etcd.clientCert }}
                - name: MINIO_ETCD_CLIENT_CERT
                  value: "/tmp/credentials/etcd_client_cert.pem"
                {{- end }}
                {{- if .Values.etcd.clientCertKey }}
                - name: MINIO_ETCD_CLIENT_CERT_KEY
                  value: "/tmp/credentials/etcd_client_cert_key.pem"
                {{- end }}
                {{- if .Values.etcd.pathPrefix }}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 15:48:31 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/NtlmUtil.java

            System.arraycopy(clientChallenge, 0, response, 16, 8);
            return response;
        }
    
    
        /**
         * Generate the Unicode MD4 hash for the password associated with these credentials.
         * 
         * @param password
         * @param challenge
         * @return the calculated response
         * @throws GeneralSecurityException
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 9.7K bytes
    - Viewed (0)
  9. docs/bucket/versioning/README.md

                  .endpoint("https://play.min.io")
                  .credentials("Q3AM3UQ867SPQQA43P2F", "zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG")
                  .build();
    
          /* Amazon S3: */
          // MinioClient minioClient =
          //     MinioClient.builder()
          //         .endpoint("https://s3.amazonaws.com")
          //         .credentials("YOUR-ACCESSKEY", "YOUR-SECRETACCESSKEY")
          //         .build();
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 04 21:43:52 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  10. cmd/admin-handlers-users_test.go

    }
    
    func (c *check) mustCreateIAMUser(ctx context.Context, admClnt *madmin.AdminClient) madmin.Credentials {
    	c.Helper()
    	randUser := mustGetUUID()
    	randPass := mustGetUUID()
    	err := admClnt.AddUser(ctx, randUser, randPass)
    	if err != nil {
    		c.Fatalf("should be able to create a user: %v", err)
    	}
    	return madmin.Credentials{
    		AccessKey: randUser,
    		SecretKey: randPass,
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
Back to top