- Sort Score
- Num 10 results
- Language All
Results 941 - 950 of 1,152 for Ensure (0.04 seconds)
-
internal/config/identity/openid/jwt_test.go
token := jwtgo.NewWithClaims(jwtgo.SigningMethodHS256, claimsMap) tokenString, err := token.SignedString(signKey) if err != nil { t.Error(err) } // Parse token to be sure it is valid err = jwtm.ParseWithClaims(tokenString, claimsMap, func(*jwtm.MapClaims) ([]byte, error) { return signKey, nil }) if err != nil { t.Error(err) } }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularContiguousSet.java
if (this.domain.equals(that.domain)) { return this.first().equals(that.first()) && this.last().equals(that.last()); } } return super.equals(object); } // copied to make sure not to use the GWT-emulated version @Override public int hashCode() { return Sets.hashCodeImpl(this); } @GwtIncompatible @J2ktIncompatible
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 8.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java
// Looks like the failure case also is just reflecting back the signature we sent // with SMB3's negotiation validation it's no longer possible to ignore this (on the validation response) // make sure that validation is performed in any case final Smb2SigningDigest dgst = getDigest(); if (dgst != null && !isAsync() && (getConfig().isRequireSecureNegotiate() || getErrorCode() == NtStatus.NT_STATUS_SUCCESS)) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 8.1K bytes - Click Count (0) -
docs/en/docs/tutorial/query-params-str-validations.md
/// info FastAPI added support for `Annotated` (and started recommending it) in version 0.95.0. If you have an older version, you would get errors when trying to use `Annotated`. Make sure you [Upgrade the FastAPI version](../deployment/versions.md#upgrading-the-fastapi-versions) to at least 0.95.1 before using `Annotated`. ///
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 16.3K bytes - Click Count (0) -
docs/en/docs/advanced/security/oauth2-scopes.md
And we return the scopes as part of the JWT token. /// danger For simplicity, here we are just adding the scopes received directly to the token. But in your application, for security, you should make sure you only add the scopes that the user is actually able to have, or the ones you have predefined. /// {* ../../docs_src/security/tutorial005_an_py310.py hl[157] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 13.4K bytes - Click Count (0) -
docs/de/docs/advanced/advanced-dependencies.md
## Eine Instanz erstellen { #create-an-instance } Wir könnten eine Instanz dieser Klasse erstellen mit: {* ../../docs_src/dependencies/tutorial011_an_py310.py hl[18] *} Und auf diese Weise können wir unsere Abhängigkeit „parametrisieren“, die jetzt `"bar"` enthält, als das Attribut `checker.fixed_content`. ## Die Instanz als Abhängigkeit verwenden { #use-the-instance-as-a-dependency }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 10.3K bytes - Click Count (0) -
docs/en/docs/tutorial/path-params-numeric-validations.md
/// info FastAPI added support for `Annotated` (and started recommending it) in version 0.95.0. If you have an older version, you would get errors when trying to use `Annotated`. Make sure you [Upgrade the FastAPI version](../deployment/versions.md#upgrading-the-fastapi-versions) to at least 0.95.1 before using `Annotated`. /// ## Declare metadata { #declare-metadata }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 6.1K bytes - Click Count (0) -
src/test/resources/thumbnail/test_generate_thumbnail.sh
echo "" # Check if the script exists if [[ ! -f "${GENERATE_THUMBNAIL}" ]]; then echo -e "${RED}ERROR: generate-thumbnail script not found at ${GENERATE_THUMBNAIL}${NC}" exit 1 fi # Make sure the script is executable chmod +x "${GENERATE_THUMBNAIL}" echo "--- Basic argument tests ---" # Test: No arguments run_test "no arguments" 1 "${GENERATE_THUMBNAIL}" # Test: Empty command typeCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Dec 04 08:02:36 GMT 2025 - 7.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 10K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt
Request .Builder() .url(server.url("/")) .build() val response = client.newCall(request).execute() assertThat("b").isEqualTo(response.body.string()) } /** Make sure interceptors can interact with the OkHttp client. */ @Test fun interceptorMakesAnUnrelatedRequest() { server.enqueue(MockResponse.Builder().body("a").build()) // Fetched by interceptor.Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 16:11:23 GMT 2025 - 28.2K bytes - Click Count (0)