Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 671 for stopTs (0.24 sec)

  1. tests/test_security_scopes.py

            return "user"
    
        app = FastAPI()
    
        @app.get("/")
        def endpoint(
            db: Annotated[str, Depends(get_db)],
            user: Annotated[str, Security(get_user, scopes=["read"])],
        ):
            return {"db": db}
    
        return app
    
    
    @pytest.fixture(name="client")
    def client_fixture(app: FastAPI):
        return TestClient(app)
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1006 bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java

            assertEquals(NtStatus.NT_STATUS_UNSUCCESSFUL, ex.getNtStatus());
        }
    
        /**
         * Verify that the message + rootCause constructor stores the root.
         */
        @Test
        @DisplayName("Message + root cause stores root cause")
        void testStringAndThrowableConstructor() {
            Throwable root = mock(Throwable.class);
            SmbException ex = new SmbException("oops", root);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. cmd/object-handlers.go

    				// to compute it server-side, with the same type as the source object.
    				if dstOpts.WantChecksum != nil && dstOpts.WantChecksum.Type.IsMultipartComposite() {
    					dstOpts.WantServerSideChecksumType = dstOpts.WantChecksum.Type.Base()
    					srcInfo.Reader.AddServerSideChecksumHasher(dstOpts.WantServerSideChecksumType)
    					dstOpts.WantChecksum = nil
    				}
    			} else {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 120.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Serialization.java

     * serialize collections that are defined elsewhere.
     *
     * @author Jared Levy
     */
    @GwtIncompatible
    @J2ktIncompatible
    final class Serialization {
      private Serialization() {}
    
      /**
       * Stores the contents of a map in an output stream, as part of serialization. It does not support
       * concurrent maps whose content may change while the method is running.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:58:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/converter/ReadingConverterChain.java

     * It maintains a list of ReadingConverter instances and iterates through them, applying each converter to the input text and accumulating the results.
     * The chain stops processing when the maximum number of readings is reached.
     */
    public class ReadingConverterChain implements ReadingConverter {
        /**
         * Constructs a new {@link ReadingConverterChain}.
         */
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:28:21 UTC 2025
    - 3.3K bytes
    - Viewed (1)
  6. guava-testlib/src/com/google/common/collect/testing/ListIteratorTester.java

     *
     * <p>The items in {@code elementsToInsert} will be repeated if {@code steps} is larger than the
     * number of provided elements.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    @NullMarked
    public abstract class ListIteratorTester<E extends @Nullable Object>
        extends AbstractIteratorTester<E, ListIterator<E>> {
      protected ListIteratorTester(
          int steps,
          Iterable<E> elementsToInsert,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/security/oauth2-jwt.md

    /// note | 笔记
    
    注意,请求中 `Authorization` 响应头的值以 `Bearer` 开头。
    
    ///
    
    ## `scopes` 高级用法
    
    OAuth2 支持**`scopes`**(作用域)。
    
    **`scopes`**为 JWT 令牌添加指定权限。
    
    让持有令牌的用户或第三方在指定限制条件下与 API 交互。
    
    **高级用户指南**中将介绍如何使用 `scopes`,及如何把 `scopes` 集成至 **FastAPI**。
    
    ## 小结
    
    至此,您可以使用 OAuth2 和 JWT 等标准配置安全的 **FastAPI** 应用。
    
    几乎在所有框架中,处理安全问题很快都会变得非常复杂。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

     * to register, retrieve, and discover available data stores.
     *
     * <p>Data stores are registered by name and class name, allowing flexible lookup.
     * The factory also supports dynamic discovery of data store plugins by scanning
     * JAR files for data store configurations.</p>
     *
     * <p>Thread-safe operations are supported for registration and retrieval of data stores.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 9K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/security/oauth2-jwt.md

    /// note | Техническая информация
    Обратите внимание на HTTP-заголовок `Authorization`, значение которого начинается с `Bearer `.
    ///
    
    ## Продвинутое использование `scopes` { #advanced-usage-with-scopes }
    
    В OAuth2 существует понятие "диапазоны" ("`scopes`").
    
    С их помощью можно добавить определенный набор разрешений к JWT-токену.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/security/simple-oauth2.md

    Die Instanz der Klassenabhängigkeit `OAuth2PasswordRequestForm` verfügt, statt eines Attributs `scope` mit dem durch Leerzeichen getrennten langen String, über das Attribut `scopes` mit einer tatsächlichen Liste von Strings, einem für jeden gesendeten Scope.
    
    In diesem Beispiel verwenden wir keine `scopes`, aber die Funktionalität ist vorhanden, wenn Sie sie benötigen.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 11.2K bytes
    - Viewed (0)
Back to top