- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 1,595 for uker (0.02 sec)
-
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: Optional[str] = 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: Optional[User] = Depends(get_current_user)): if current_user is None:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.4K bytes - Viewed (0) -
tests/main_test.go
t.Errorf("Should got error with invalid SQL") } if DB.Model(&User{}).Where("sdsd.zaaa = ?", "sd;;;aa").Pluck("aaa", &columns).Error == nil { t.Errorf("Should got error with invalid SQL") } if DB.Where("sdsd.zaaa = ?", "sd;;;aa").Find(&User{}).Error == nil { t.Errorf("Should got error with invalid SQL") } var count1, count2 int64 DB.Model(&User{}).Count(&count1) if count1 <= 0 { t.Errorf("Should find some users")
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Mar 24 01:31:58 UTC 2022 - 1.4K bytes - Viewed (0) -
common-protos/k8s.io/apimachinery/pkg/apis/testapigroup/v1/generated.proto
message CarpCondition { // Type is the type of the condition. // Currently only Ready. // More info: http://kubernetes.io/docs/user-guide/carp-states#carp-conditions optional string type = 1; // Status is the status of the condition. // Can be True, False, Unknown. // More info: http://kubernetes.io/docs/user-guide/carp-states#carp-conditions optional string status = 2; // Last time we probed the condition. // +optional
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 7.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/bsbhv/BsRoleBhv.java
*/ package org.codelibs.fess.es.user.bsbhv; import java.util.List; import java.util.Map; import org.codelibs.fess.es.user.allcommon.EsAbstractBehavior; import org.codelibs.fess.es.user.allcommon.EsAbstractEntity.RequestOptionCall; import org.codelibs.fess.es.user.bsentity.dbmeta.RoleDbm; import org.codelibs.fess.es.user.cbean.RoleCB; import org.codelibs.fess.es.user.exentity.Role; import org.dbflute.Entity;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 8.8K bytes - Viewed (0) -
tests/test_security_oauth2_optional_description.py
} }, description="OAuth2 security scheme", auto_error=False, ) class User(BaseModel): username: str def get_current_user(oauth_header: Optional[str] = Security(reusable_oauth2)): if oauth_header is None: return None user = User(username=oauth_header) return user @app.post("/login") def login(form_data: OAuth2PasswordRequestFormStrict = Depends()):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 10.9K bytes - Viewed (0) -
helm-releases/minio-3.6.2.tgz
active return 0 } # checkUserExists ($username) # Check if the user exists, by using the exit code of `mc admin user info` checkUserExists() { USER=$1 CMD=$(${MC} admin user info myminio $USER > /dev/null 2>&1) return $? } # createUser ($username, $password, $policy) createUser() { USER=$1 PASS=$2 POLICY=$3 # Create the user if it does not exist if ! checkUserExists $USER ; then echo "Creating user '$USER'" ${MC} admin user add myminio $USER $PASS else echo "User '$USER' already exists." fi # set policy...
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Mar 17 18:30:55 UTC 2022 - 17.9K bytes - Viewed (0) -
src/packaging/common/scripts/preinst
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Dec 01 09:48:15 UTC 2016 - 2.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt
user.addPlanToCancel(this) try { user.connectStart(route) connectSocket() success = true return ConnectResult(plan = this) } catch (e: IOException) { user.connectFailed(route, null, e) return ConnectResult(plan = this, throwable = e) } finally { user.removePlanToCancel(this) if (!success) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 18.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/GroupService.java
import org.codelibs.core.beans.util.BeanUtil; import org.codelibs.fess.Constants; import org.codelibs.fess.app.pager.GroupPager; import org.codelibs.fess.es.user.cbean.GroupCB; import org.codelibs.fess.es.user.exbhv.GroupBhv; import org.codelibs.fess.es.user.exbhv.UserBhv; import org.codelibs.fess.es.user.exentity.Group; import org.codelibs.fess.mylasta.direction.FessConfig; import org.codelibs.fess.util.ComponentUtil;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/RoleService.java
import org.codelibs.core.beans.util.BeanUtil; import org.codelibs.fess.Constants; import org.codelibs.fess.app.pager.RolePager; import org.codelibs.fess.es.user.cbean.RoleCB; import org.codelibs.fess.es.user.exbhv.RoleBhv; import org.codelibs.fess.es.user.exbhv.UserBhv; import org.codelibs.fess.es.user.exentity.Role; import org.codelibs.fess.mylasta.direction.FessConfig; import org.codelibs.fess.util.ComponentUtil;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3.4K bytes - Viewed (0)