- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 584 for _validate (0.04 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) -
cmd/bucket-replication-handlers.go
if apiErr != noError { writeErrorResponse(ctx, w, apiErr, r.URL) return } // Validate the received bucket replication config if err = replicationConfig.Validate(bucket, sameTarget); err != nil { writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL) return } configData, err := xml.Marshal(replicationConfig) if err != nil {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 23.3K bytes - Viewed (0) -
maven-tests/mvnw.cmd
} [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 $webclient.DownloadFile($distributionUrl, "$TMP_DOWNLOAD_DIR/$distributionUrlName") | Out-Null # If specified, validate the SHA-256 sum of the Maven distribution zip file $distributionSha256Sum = (Get-Content -Raw "$scriptDir/.mvn/wrapper/maven-wrapper.properties" | ConvertFrom-StringData).distributionSha256Sum if ($distributionSha256Sum) {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Sep 25 18:22:49 UTC 2025 - 6.8K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/DefaultLifecyclesStub.java
import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; /** */ public class DefaultLifecyclesStub { public static DefaultLifecycles createDefaultLifecycles() throws ComponentLookupException { List<String> stubDefaultCycle = Arrays.asList( VALIDATE.getPhase(), INITIALIZE.getPhase(),Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/validation/CronExpressionValidator.java
return determineValid(value); } /** * Determines if the given value is a valid cron expression. * @param value the value to validate * @return true if valid, false otherwise */ protected boolean determineValid(final String value) { if (StringUtil.isNotBlank(value) && !LaCronUtil.isCronExpValid(value)) { return false;
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequest.java
*/ package jcifs.internal.smb2.ioctl; import jcifs.Encodable; import jcifs.internal.util.SMBUtil; /** * SMB2 Validate Negotiate Info request data structure. This structure is used to validate * that the negotiated SMB2 dialect matches what was originally negotiated. * * @author mbechler * */ public class ValidateNegotiateInfoRequest implements Encodable {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java
this.provider = Crypto.getProvider(); break; default: throw new IllegalArgumentException("Unknown dialect"); } // Initialize the digest once to validate configuration this.digest = createMacInstance(); } /** * Create a new Mac instance for thread-safe operations * @return initialized Mac instance
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
guava/src/com/google/common/cache/AbstractCache.java
} @Override public void invalidate(Object key) { throw new UnsupportedOperationException(); } /** * @since 11.0 */ @Override // For discussion of <? extends Object>, see getAllPresent. public void invalidateAll(Iterable<? extends Object> keys) { for (Object key : keys) { invalidate(key); } } @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0) -
cmd/admin-handler-utils.go
"github.com/minio/kms-go/kes" "github.com/minio/madmin-go/v3" "github.com/minio/minio/internal/auth" "github.com/minio/minio/internal/config" "github.com/minio/pkg/v3/policy" ) // validateAdminReq will validate request against and return whether it is allowed. // If any of the supplied actions are allowed it will be successful. // If nil ObjectLayer is returned, the operation is not permitted.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Jul 03 07:17:20 UTC 2024 - 8.4K bytes - Viewed (0) -
internal/config/identity/openid/jwt_test.go
}, ProviderCfgs: map[string]*providerCfg{ "1": &provider, }, closeRespFn: func(rc io.ReadCloser) { rc.Close() }, } var claims jwtgo.MapClaims if err = cfg.Validate(t.Context(), DummyRoleARN, token, "", "", claims); err != nil { t.Fatal(err) } } func TestJWT(t *testing.T) { const jsonkey = `{"keys": [ {"kty":"RSA",
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 8.2K bytes - Viewed (0)