Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 364 for Brooks (0.44 seconds)

  1. docs/uk/docs/tutorial/security/first-steps.md

    Але заощадимо вам час на читання всієї довгої специфікації, щоб знайти лише потрібні дрібниці.
    
    Скористаймося інструментами, які надає **FastAPI**, щоб обробляти безпеку.
    
    ## Як це виглядає { #how-it-looks }
    
    Спочатку просто запустімо код і подивімося, як він працює, а потім повернемося, щоб розібратися, що відбувається.
    
    ## Створіть `main.py` { #create-main-py }
    
    Скопіюйте приклад у файл `main.py`:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

     *
     * <pre>
     * interface Book {...}
     * public class Books {
     *   public static Book hardcover(String title) {...}
     *   public static Book paperback(String title) {...}
     * }
     * </pre>
     *
     * <p>And all the created {@code Book} instances can be tested with:
     *
     * <pre>
     * new ClassSanityTester()
     *     .forAllPublicStaticMethods(Books.class)
     *     .thatReturn(Book.class)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 32.5K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java

            if ((clazz.getModifiers() & Modifier.PUBLIC) != 0) {
                return method;
            }
    
            return getPublicMethod(clazz, method.getName(), method.getParameterTypes());
        }
    
        /**
         * Looks up the method with specified name and signature in the first public
         * superclass or implemented interface of the class.
         *
         * @param clazz      the class whose method is sought
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  4. docs/zh-hant/docs/tutorial/security/first-steps.md

    想像你有一個部署在某個網域的後端 API。
    
    還有一個前端在另一個網域,或同一網域的不同路徑(或是行動應用程式)。
    
    你希望前端能用使用者名稱與密碼向後端進行身分驗證。
    
    我們可以用 OAuth2 搭配 FastAPI 來實作。
    
    但不必通讀整份冗長規格只為了找出你需要的幾個重點。
    
    就用 FastAPI 提供的工具處理安全性。
    
    ## 看起來如何 { #how-it-looks }
    
    先直接跑範例看效果,再回頭理解其原理。
    
    ## 建立 `main.py` { #create-main-py }
    
    將範例複製到檔案 `main.py`:
    
    {* ../../docs_src/security/tutorial001_an_py310.py *}
    
    ## 執行 { #run-it }
    
    /// info
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  5. docs/zh/docs/tutorial/security/first-steps.md

    而**前端**在另一个域名,或同一域名的不同路径(或在移动应用中)。
    
    你希望前端能通过**username** 和 **password** 与后端进行身份验证。
    
    我们可以用 **OAuth2** 在 **FastAPI** 中实现它。
    
    但为了节省你的时间,不必为获取少量信息而通读冗长的规范。
    
    我们直接使用 **FastAPI** 提供的安全工具。
    
    ## 效果预览 { #how-it-looks }
    
    先直接运行代码看看效果,之后再回过头理解其背后的原理。
    
    ## 创建 `main.py` { #create-main-py }
    
    把下面的示例代码复制到 `main.py`:
    
    {* ../../docs_src/security/tutorial001_an_py310.py *}
    
    ## 运行 { #run-it }
    
    /// info | 信息
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

            if (cookieValue != null) {
                updateCookie(StringUtil.EMPTY, 0);
            }
        }
    
        /**
         * Extracts the user code from request parameters.
         * This method looks for the user code in the request parameters and validates it.
         *
         * @param request the HTTP servlet request
         * @return the user code from request parameters, or null if not found or invalid
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

        /**
         * Decodes a multiline string that contains both a [certificate][certificatePem] and a
         * [private key][privateKeyPkcs8Pem], both [PEM-encoded][rfc_7468]. A typical input string looks
         * like this:
         *
         * ```
         * -----BEGIN CERTIFICATE-----
         * MIIBYTCCAQegAwIBAgIBKjAKBggqhkjOPQQDAjApMRQwEgYDVQQLEwtlbmdpbmVl
         * cmluZzERMA8GA1UEAxMIY2FzaC5hcHAwHhcNNzAwMTAxMDAwMDA1WhcNNzAwMTAx
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

     * {@link #testEquals}, {@link #testNulls} and {@link #testSerializable}.
     *
     * <p>For testing against the returned instances from a static factory class, such as
     *
     * <pre>
     * interface Book {...}
     * public class Books {
     *   public static Book hardcover(String title) {...}
     *   public static Book paperback(String title) {...}
     * }
     * </pre>
     *
     * <p>please use {@link ClassSanityTester#forAllPublicStaticMethods}.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java

        private static class MockFessConfig extends FessConfig.SimpleImpl {
            private static final long serialVersionUID = 1L;
    
            @Override
            public String getSlackWebhookUrls() {
                return "https://hooks.slack.com/services/test";
            }
    
            @Override
            public String getGoogleChatWebhookUrls() {
                return "https://chat.googleapis.com/v1/spaces/test/messages?key=test";
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 20K bytes
    - Click Count (0)
  10. docs/ko/docs/tutorial/security/first-steps.md

    **FastAPI**와 함께 **OAuth2**를 사용해서 이를 구현할 수 있습니다.
    
    하지만 필요한 작은 정보 조각들을 찾기 위해 길고 긴 전체 스펙을 읽느라 시간을 쓰지 않도록 하겠습니다.
    
    보안을 처리하기 위해 **FastAPI**가 제공하는 도구들을 사용해 봅시다.
    
    ## 어떻게 보이는지 { #how-it-looks }
    
    먼저 코드를 그냥 사용해서 어떻게 동작하는지 보고, 그다음에 무슨 일이 일어나는지 이해하러 다시 돌아오겠습니다.
    
    ## `main.py` 만들기 { #create-main-py }
    
    예제를 파일 `main.py`에 복사하세요:
    
    {* ../../docs_src/security/tutorial001_an_py310.py *}
    
    ## 실행하기 { #run-it }
    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)
Back to Top