- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 640 for validates (0.39 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/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) -
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) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectInterceptor.kt
import okhttp3.Response import okhttp3.internal.http.RealInterceptorChain /** * Opens a connection to the target server and proceeds to the next interceptor. The network might * be used for the returned response, or to validate a cached response with a conditional GET. */ object ConnectInterceptor : Interceptor { @Throws(IOException::class) override fun intercept(chain: Interceptor.Chain): Response {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.5K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/MavenLifecycleParticipantTest.java
File pom = getProject("lifecycle-listener-dependency-injection"); MavenExecutionRequest request = createMavenExecutionRequest(pom); request.setGoals(Arrays.asList("validate")); MavenExecutionResult result = maven.execute(request); assertFalse(result.hasExceptions(), result.getExceptions().toString()); MavenProject project = result.getProject();
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6K bytes - Viewed (0)