Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 69 for FooBar (0.6 seconds)

  1. tests/test_security_http_bearer_optional.py

    
    client = TestClient(app)
    
    
    def test_security_http_bearer():
        response = client.get("/users/me", headers={"Authorization": "Bearer foobar"})
        assert response.status_code == 200, response.text
        assert response.json() == {"scheme": "Bearer", "credentials": "foobar"}
    
    
    def test_security_http_bearer_no_credentials():
        response = client.get("/users/me")
        assert response.status_code == 200, response.text
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java

            }
            return difference(multiset1, multiset2);
          }
        };
      }
    
      private static final ImmutableMultiset<String> ELEMENTS_TO_FILTER_OUT =
          ImmutableMultiset.of("foobar", "bazfoo", "foobar", "foobar");
    
      private static final Predicate<String> PREDICATE = not(Predicates.in(ELEMENTS_TO_FILTER_OUT));
    
      private static TestStringMultisetGenerator filteredGenerator() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/hash/ChecksumHashFunctionTest.java

        assertChecksum(CRC_32, "");
        assertChecksum(CRC_32, "Z");
        assertChecksum(CRC_32, "foobar");
      }
    
      public void testAdler32_equalsChecksumValue() throws Exception {
        assertChecksum(ADLER_32, "");
        assertChecksum(ADLER_32, "Z");
        assertChecksum(ADLER_32, "foobar");
      }
    
      public void testCrc32_knownValues() throws Exception {
        assertHash32(0x1C8600E3, CRC_32, "hell");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  4. docs/sts/tls.md

    The following self-signed certificate is issued for `consoleAdmin`. So, MinIO would associate it with the pre-defined `consoleAdmin` policy.
    
    ```
    Certificate:
        Data:
            Version: 3 (0x2)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 6K bytes
    - Click Count (1)
  5. okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt

            publicSuffix = publicSuffix.replace("\\*".toRegex(), "square")
          }
          assertThat(publicSuffixDatabase.getEffectiveTldPlusOne(publicSuffix)).isNull()
          val test = "foobar.$publicSuffix"
          assertThat(publicSuffixDatabase.getEffectiveTldPlusOne(test)).isEqualTo(test)
        }
      }
    
      @Test
      fun publicSuffixExceptions() {
        val buffer = Buffer()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue May 27 22:00:49 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/toolchain/RequirementMatcherFactoryTest.java

        void testCreateExactMatcher() {
            RequirementMatcher matcher;
            matcher = RequirementMatcherFactory.createExactMatcher("foo");
            assertFalse(matcher.matches("bar"));
            assertFalse(matcher.matches("foobar"));
            assertFalse(matcher.matches("foob"));
            assertTrue(matcher.matches("foo"));
        }
    
        /**
         * Test of createVersionMatcher method, of class RequirementMatcherFactory.
         */
        @Test
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 11 12:33:57 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/security/first-steps.md

        * So, to authenticate with our API, it sends a header `Authorization` with a value of `Bearer ` plus the token.
        * If the token contains `foobar`, the content of the `Authorization` header would be: `Bearer foobar`.
    
    ## **FastAPI**'s `OAuth2PasswordBearer` { #fastapis-oauth2passwordbearer }
    
    **FastAPI** provides several tools, at different levels of abstraction, to implement these security features.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/cisupport/CIDetectorHelperTest.java

        }
    
        @Test
        void jenkins() throws Exception {
            assertEquals(JenkinsCIDetector.NAME + ";", runner(Map.of("CI", "true", "WORKSPACE", "foobar")));
        }
    
        @Test
        void circleci() throws Exception {
            assertEquals(CircleCIDetector.NAME + ";", runner(Map.of("CIRCLECI", "true")));
        }
    
        @Test
        void teamcity() throws Exception {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Apr 13 18:50:07 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  9. docs/ko/docs/tutorial/security/first-steps.md

    * frontend는 API에서 더 많은 데이터를 가져와야 합니다.
        * 하지만 그 특정 endpoint에는 인증이 필요합니다.
        * 그래서 우리 API에 인증하기 위해 `Authorization` 헤더를, 값은 `Bearer `에 token을 더한 형태로 보냅니다.
        * token에 `foobar`가 들어 있다면 `Authorization` 헤더의 내용은 `Bearer foobar`가 됩니다.
    
    ## **FastAPI**의 `OAuth2PasswordBearer` { #fastapis-oauth2passwordbearer }
    
    **FastAPI**는 이런 보안 기능을 구현하기 위해, 서로 다른 추상화 수준에서 여러 도구를 제공합니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  10. internal/config/certs_test.go

    bulZmoo7e7HO1qecEzWKL10UYyEbG3UDPtw+NZc142ZYeEhXQ0dsstGAO5hf3hEl
    kQyKGUTpDbKLuyYMFsoH73YLjBqNe+UEhPwE+FWpcky1Sp9RTx/oMLpiZaPR
    -----END CERTIFICATE-----`,
    		shouldFail: true,
    	},
    	{
    		password: "foobar",
    		privateKey: `-----BEGIN RSA PRIVATE KEY-----
    Proc-Type: 4,ENCRYPTED
    DEK-Info: AES-128-CBC,CC483BF11678C35F9F02A1AD85DAE285
    
    nMDFd+Qxk1f+S7LwMitmMofNXYNbCY4L1QEqPOOx5wnjNF1wSxmEkL7+h8W4Y/vb
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 21.6K bytes
    - Click Count (0)
Back to Top