- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 543 for Validate (0.12 sec)
-
tests/test_tutorial/test_security/test_tutorial004.py
client = TestClient(mod.app) response = client.get("/users/me", headers={"Authorization": "Bearer nonexistent"}) assert response.status_code == 401, response.text assert response.json() == {"detail": "Could not validate credentials"} assert response.headers["WWW-Authenticate"] == "Bearer" def test_incorrect_token_type(mod: ModuleType): client = TestClient(mod.app) response = client.get(
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 13.3K bytes - Viewed (0) -
docs/en/docs/reference/openapi/models.md
# OpenAPI `models` OpenAPI Pydantic models used to generate and validate the generated OpenAPI.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Oct 18 12:36:40 UTC 2023 - 125 bytes - Viewed (0) -
internal/bucket/lifecycle/tag.go
func (tag Tag) String() string { return tag.Key + "=" + tag.Value } // IsEmpty returns whether this tag is empty or not. func (tag Tag) IsEmpty() bool { return tag.Key == "" } // Validate checks this tag. func (tag Tag) Validate() error { if len(tag.Key) == 0 || utf8.RuneCountInString(tag.Key) > 128 { return errInvalidTagKey } if utf8.RuneCountInString(tag.Value) > 256 { return errInvalidTagValue }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Mar 06 16:56:10 UTC 2023 - 2.4K bytes - Viewed (0) -
internal/config/identity/plugin/config.go
URL *xnet.URL AuthToken string Transport http.RoundTripper CloseRespFn func(r io.ReadCloser) RolePolicy string RoleARN arn.ARN } // Validate - validate configuration params. func (a *Args) Validate() error { req, err := http.NewRequest(http.MethodPost, a.URL.String(), bytes.NewReader([]byte(""))) if err != nil { return err }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 13.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
throw new CIFSException("Failed to encrypt message", e); } } /** * Validate encryption parameters to prevent security issues * * @return true if parameters are valid */ private boolean validateEncryptionParameters() { // Validate cipher ID if (cipherId != CIPHER_AES_128_CCM && cipherId != CIPHER_AES_128_GCM && cipherId != CIPHER_AES_256_CCM
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 35.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/badword/AdminBadwordAction.java
* Show the edit page. * @param form The edit form. * @return The HTML response. */ @Execute @Secured({ ROLE }) public HtmlResponse edit(final EditForm form) { validate(form, messages -> {}, this::asListHtml); final String id = form.id; badWordService.getBadWord(id).ifPresent(entity -> { copyBeanToBean(entity, form, op -> {}); }).orElse(() -> {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 13:56:35 UTC 2025 - 17.9K bytes - Viewed (0) -
internal/bucket/versioning/versioning_test.go
t.Fatalf("Test %d: expected %v but got %v", i+1, tc.err, err) } if err != nil { if tc.err == nil { t.Fatalf("Test %d: failed due to %v", i+1, err) } } else { if err := v.Validate(); tc.err != err { t.Fatalf("Test %d: validation failed due to %v", i+1, err) } if len(tc.excludedPrefixes) > 0 { var mismatch bool if len(v.ExcludedPrefixes) != len(tc.excludedPrefixes) {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun May 08 05:06:44 UTC 2022 - 8.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 20.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/validation/UriType.java
/** * Validation annotation for URI type constraints. * This annotation validates URI strings based on specified protocol types. */ @Target({ METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER }) @Retention(RUNTIME) @Documented @Constraint(validatedBy = UriTypeValidator.class) public @interface UriType { /** * Specifies the protocol type to validate against. * * @return the protocol type */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.1K bytes - Viewed (0) -
internal/config/identity/ldap/config.go
// this point as necessary configuration is available. if !isEnableFlagExplicitlySet && !l.LDAP.Enabled { l.LDAP.Enabled = true } // Validate and test configuration. valResult := l.LDAP.Validate() if !valResult.IsOk() { // Set to false if configuration fails to validate. l.LDAP.Enabled = false return l, valResult } return l, nil } // GetConfigList - returns a list of LDAP configurations.Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Sep 18 11:47:48 UTC 2025 - 8.6K bytes - Viewed (0)