- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 1,623 for uber (0.03 sec)
-
tests/test_security_api_key_query_description.py
app = FastAPI() api_key = APIKeyQuery(name="key", description="API Key Query") class User(BaseModel): username: str def get_current_user(oauth_header: str = Security(api_key)): user = User(username=oauth_header) return user @app.get("/users/me") def read_current_user(current_user: User = Depends(get_current_user)): return current_user client = TestClient(app)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Log.java
*/ boolean isDebugEnabled(); /** * Sends a message to the user in the <b>debug</b> error level. * * @param content the message to log */ void debug(CharSequence content); /** * Sends a message (and accompanying exception) to the user in the <b>debug</b> error level. * The error's stacktrace will be output when this error level is enabled. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Sat Sep 28 09:03:24 UTC 2024 - 5.4K bytes - Viewed (0) -
internal/config/identity/openid/provider/keycloak.go
return User{}, ErrAccessTokenExpired } req.Header.Set("Authorization", "Bearer "+accessToken.AccessToken) resp, err := k.client.Do(req) if err != nil { return User{}, err } defer resp.Body.Close() switch resp.StatusCode { case http.StatusOK, http.StatusPartialContent: var u User if err = json.NewDecoder(resp.Body).Decode(&u); err != nil { return User{}, err } return u, nil
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jul 14 18:12:07 UTC 2024 - 4.6K bytes - Viewed (0) -
.teamcity/src/main/kotlin/promotion/PublishRelease.kt
) { init { params { text( "gitUserEmail", "", label = "Git user.email Configuration", description = "Enter the git 'user.email' configuration to commit change under", display = ParameterDisplay.PROMPT, allowEmpty = true ) text(
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Dec 05 00:08:14 UTC 2023 - 3.5K bytes - Viewed (0) -
pom.xml
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 26 02:16:03 UTC 2024 - 49.1K bytes - Viewed (0) -
docs/distributed/iam-import-with-missing-entities.sh
# Verify the list of users and service accounts from the import ./mc admin user list myminio USER_COUNT=$(./mc admin user list myminio | wc -l) if [ "${USER_COUNT}" -ne 2 ]; then echo "BUG: Expected no of users: 2 Found: ${USER_COUNT}" exit 1 fi ./mc admin user svcacct list myminio "uid=bobfisher,ou=people,ou=hwengg,dc=min,dc=io" --json
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 12 15:59:00 UTC 2024 - 4.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/FessLoginAction.java
} protected HtmlResponse redirectByUser(final FessUserBean user) { if (user.hasRoles(fessConfig.getAuthenticationAdminRolesAsArray())) { return redirect(AdminDashboardAction.class); } final Class<? extends FessAdminAction> actionClass = AdminAction.getAdminActionClass(user); if (actionClass != null) { return redirect(actionClass); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.5K bytes - Viewed (0) -
tests/count_test.go
} if err := DB.Model(&User{}).Where("name = ?", user1.Name).Or("name = ?", user3.Name).Count(&count).Find(&users).Error; err != nil { t.Errorf(fmt.Sprintf("Count should work, but got err %v", err)) } if count != int64(len(users)) { t.Errorf("Count() method should get correct value, expect: %v, got %v", count, len(users)) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Oct 30 09:15:49 UTC 2023 - 6.9K bytes - Viewed (0) -
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: Optional[str] = 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:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.1K bytes - Viewed (0) -
tests/test_security_api_key_query_optional.py
api_key = APIKeyQuery(name="key", auto_error=False) class User(BaseModel): username: str def get_current_user(oauth_header: Optional[str] = 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: 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 - 2K bytes - Viewed (0)