- Sort Score
- Num 10 results
- Language All
Results 231 - 240 of 1,798 for useSwr (0.07 seconds)
-
tests/test_security_api_key_cookie_optional.py
api_key = APIKeyCookie(name="key", auto_error=False) class User(BaseModel): username: str def get_current_user(oauth_header: str | None = Security(api_key)): if oauth_header is None: return None user = User(username=oauth_header) return user @app.get("/users/me") def read_current_user(current_user: User = Depends(get_current_user)): if current_user is None:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 2.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/service/RoleService.java
import org.codelibs.fess.app.pager.RolePager; import org.codelibs.fess.mylasta.direction.FessConfig; import org.codelibs.fess.opensearch.user.cbean.RoleCB; import org.codelibs.fess.opensearch.user.exbhv.RoleBhv; import org.codelibs.fess.opensearch.user.exbhv.UserBhv; import org.codelibs.fess.opensearch.user.exentity.Role; import org.codelibs.fess.util.ComponentUtil; import org.dbflute.cbean.result.PagingResultBean;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 4.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Constants.java
public static final String MAVEN_INSTALLATION_CONF = "maven.installation.conf"; /** * Maven user configuration directory. * * @since 4.0.0 */ @Config(defaultValue = "${user.home}/.m2") public static final String MAVEN_USER_CONF = "maven.user.conf"; /** * Maven project configuration directory. * * @since 4.0.0 */
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 28.7K bytes - Click Count (0) -
docs/docker/README.md
``` ### Run MinIO Docker as a regular user Docker provides standardized mechanisms to run docker containers as non-root users. #### GNU/Linux and macOS (regular user) On Linux and macOS you can use `--user` to run the container as regular user. > NOTE: make sure --user has write permission to *${HOME}/data* prior to using `--user`. ```sh mkdir -p ${HOME}/data docker run \
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 8.2K bytes - Click Count (0) -
tests/test_dependency_yield_except_httpexception.py
raise finally: state["finally"] = True @app.put("/invalid-user/{user_id}") def put_invalid_user( user_id: str, name: str = Body(), db: dict = Depends(get_database) ): db[user_id] = name raise HTTPException(status_code=400, detail="Invalid user") @app.put("/user/{user_id}") def put_user(user_id: str, name: str = Body(), db: dict = Depends(get_database)): db[user_id] = nameCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Sep 29 03:29:38 GMT 2025 - 1.9K bytes - Click Count (0) -
tests/test_security_openid_connect_optional.py
oid = OpenIdConnect(openIdConnectUrl="/openid", auto_error=False) class User(BaseModel): username: str def get_current_user(oauth_header: str | None = Security(oid)): if oauth_header is None: return None user = User(username=oauth_header) return user @app.get("/users/me") def read_current_user(current_user: User | None = Depends(get_current_user)): if current_user is None:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 2.6K bytes - Click Count (0) -
clause/expression_test.go
}} for idx, result := range results { t.Run(fmt.Sprintf("case #%v", idx), func(t *testing.T) { user, _ := schema.Parse(&tests.User{}, &sync.Map{}, db.NamingStrategy) stmt := &gorm.Statement{DB: db, Table: user.Table, Schema: user, Clauses: map[string]clause.Clause{}} clause.Expr{SQL: result.SQL, Vars: result.Vars}.Build(stmt) if stmt.SQL.String() != result.Result {Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Tue Nov 04 07:04:52 GMT 2025 - 8.9K bytes - Click Count (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt
} @Test fun sensitiveQueryParamsAreRedacted() { url = server.url("/api/login?user=test_user&authentication=basic&password=confidential_password") val networkInterceptor = HttpLoggingInterceptor(networkLogs).setLevel( Level.BASIC, ) networkInterceptor.redactQueryParams("user", "passWord") val applicationInterceptor = HttpLoggingInterceptor(applicationLogs).setLevel(
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Nov 07 02:57:33 GMT 2025 - 39.4K bytes - Click Count (0) -
src/packaging/common/scripts/preinst
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Dec 01 09:48:15 GMT 2016 - 2.3K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Parameter.java
/** * Specifies that this parameter cannot be configured directly by the user (as in the case of POM-specified * configuration). This is useful when you want to force the user to use common POM elements rather than plugin * configurations, as in the case where you want to use the artifact's final name as a parameter. In this case, youCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Feb 05 09:45:47 GMT 2024 - 3.8K bytes - Click Count (0)