Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 671 for stopTs (0.03 sec)

  1. tests/test_security_oauth2.py

    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    reusable_oauth2 = OAuth2(
        flows={
            "password": {
                "tokenUrl": "token",
                "scopes": {"read:users": "Read the users", "write:users": "Create users"},
            }
        }
    )
    
    
    class User(BaseModel):
        username: str
    
    
    # Here we use string annotations to test them
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 9K bytes
    - Viewed (0)
  2. tests/test_security_oauth2_optional_description.py

    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    reusable_oauth2 = OAuth2(
        flows={
            "password": {
                "tokenUrl": "token",
                "scopes": {"read:users": "Read the users", "write:users": "Create users"},
            }
        },
        description="OAuth2 security scheme",
        auto_error=False,
    )
    
    
    class User(BaseModel):
        username: str
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  3. internal/config/identity/openid/help.go

    			Optional:    true,
    			Type:        "string",
    		},
    		config.HelpKV{
    			Key:         Scopes,
    			Description: `Comma separated list of OpenID scopes for server, defaults to advertised scopes from discovery document e.g. "email,admin"` + defaultHelpPostfix(Scopes),
    			Optional:    true,
    			Type:        "csv",
    		},
    		config.HelpKV{
    			Key:         Vendor,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Jun 23 14:45:27 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/PathScopeProvider.java

     * This interface allows plugins and extensions to define and register additional path scopes
     * beyond the standard ones provided by Maven. Path scopes define how dependencies are used
     * in different contexts, such as compilation, testing, or runtime.
     * <p>
     * Implementations of this interface will be discovered through the Java ServiceLoader mechanism
     * and their provided path scopes will be available throughout the Maven build process.
     * <p>
     * Example usage:
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

      }
    
      @SuppressWarnings("unchecked") // TODO(cpovirk): Stop using arrays.
      AbstractIteratorTester(
          int steps,
          Iterable<E> elementsToInsertIterable,
          Iterable<? extends IteratorFeature> features,
          Iterable<E> expectedElements,
          KnownOrder knownOrder,
          int startIndex) {
        // periodically we should manually try (steps * 3 / 2) here; all tests but
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  6. docs/metrics/prometheus/grafana/node/minio-node.json

                      "text": "N/A"
                    }
                  },
                  "type": "special"
                }
              ],
              "thresholds": {
                "mode": "absolute",
                "steps": [
                  {
                    "color": "green",
                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Aug 04 01:46:49 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/security/oauth2-jwt.md

    /// note | Hinweis
    
    Beachten Sie den Header `Authorization` mit einem Wert, der mit `Bearer ` beginnt.
    
    ///
    
    ## Fortgeschrittene Verwendung mit `scopes` { #advanced-usage-with-scopes }
    
    OAuth2 hat ein Konzept von <abbr title="Geltungsbereiche">„Scopes“</abbr>.
    
    Sie können diese verwenden, um einem JWT-Token einen bestimmten Satz von Berechtigungen zu übergeben.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Oct 01 15:19:54 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. docs/es/docs/tutorial/security/oauth2-jwt.md

    <img src="/img/tutorial/security/image10.png">
    
    /// note | Nota
    
    Observa el header `Authorization`, con un valor que comienza con `Bearer `.
    
    ///
    
    ## Uso avanzado con `scopes` { #advanced-usage-with-scopes }
    
    OAuth2 tiene la noción de "scopes".
    
    Puedes usarlos para agregar un conjunto específico de permisos a un token JWT.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  9. chainable_api.go

    //	    return func (db *gorm.DB) *gorm.DB {
    //	        return db.Scopes(AmountGreaterThan1000).Where("status in (?)", status)
    //	    }
    //	}
    //
    //	db.Scopes(AmountGreaterThan1000, OrderStatus([]string{"paid", "shipped"})).Find(&orders)
    func (db *DB) Scopes(funcs ...func(*DB) *DB) (tx *DB) {
    	tx = db.getInstance()
    	tx.Statement.scopes = append(tx.Statement.scopes, funcs...)
    	return tx
    }
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Sep 19 01:49:06 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  10. docs/bigdata/README.md

    mapreduce.task.sort.spill.percent=0.9 # Minimum % before spilling to disk
    ```
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 14.7K bytes
    - Viewed (0)
Back to top