- Sort Score
- Num 10 results
- Language All
Results 401 - 410 of 7,583 for basic (0.05 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Authenticator.kt
* * ```java * if (response.request().header("Authorization") != null) { * return null; // Give up, we've already failed to authenticate. * } * * String credential = Credentials.basic(...) * return response.request().newBuilder() * .header("Authorization", credential) * .build(); * ``` * * When reactive authentication is requested by a proxy server, the response code is 407 and the
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 5.5K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
} } @Nested @DisplayName("Serialization Tests") class SerializationTests { @Test @DisplayName("toByteArray should produce valid message with basic flags") void testToByteArray_Basic() throws IOException { // Given CIFSContext mockContext = createMockContext(); Type2Message message = new Type2Message(mockContext,Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 38.9K bytes - Click Count (0) -
docs/en/docs/index.md
* Security and authentication, including support for **OAuth2** with **JWT tokens** and **HTTP Basic** auth. * More advanced (but equally easy) techniques for declaring **deeply nested JSON models** (thanks to Pydantic). * **GraphQL** integration with [Strawberry](https://strawberry.rocks) and other libraries.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 07 09:29:03 GMT 2026 - 21.4K bytes - Click Count (0) -
docs/zh-hant/docs/index.md
* 如何設定**驗證限制**,如 `maximum_length` 或 `regex`。 * 一個非常強大且易用的 **<dfn title="也稱為:components、resources、providers、services、injectables">依賴注入</dfn>** 系統。 * 安全與驗證,包含支援 **OAuth2** 搭配 **JWT tokens** 與 **HTTP Basic** 驗證。 * 宣告**深度巢狀 JSON 模型**的進階(但同樣簡單)技巧(感謝 Pydantic)。 * 與 [Strawberry](https://strawberry.rocks) 及其他函式庫的 **GraphQL** 整合。 * 許多額外功能(感謝 Starlette),例如: * **WebSockets** * 基於 HTTPX 與 `pytest` 的極其簡單的測試Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 20.8K bytes - Click Count (0) -
src/archive/tar/common.go
} else { paxHdrs[paxKey] = formatPAXTime(ts) } } if v, ok := h.PAXRecords[paxKey]; ok && v == formatPAXTime(ts) { paxHdrs[paxKey] = v } } // Check basic fields. var blk block v7 := blk.toV7() ustar := blk.toUSTAR() gnu := blk.toGNU() verifyString(h.Name, len(v7.name()), "Name", paxPath) verifyString(h.Linkname, len(v7.linkName()), "Linkname", paxLinkpath)Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Oct 07 19:46:36 GMT 2025 - 24.5K bytes - Click Count (0) -
tests/generics_test.go
_, err := gorm.G[User](DB).Where("id = ?", 1).Delete(ctx) if err != nil { t.Fatalf("Delete failed: %v", err) } } func TestGenericsAssociation(t *testing.T) { // Test basic Association creation assoc := clause.Association{ Association: "Orders", Type: clause.OpCreate, Set: []clause.Assignment{ {Column: clause.Column{Name: "amount"}, Value: 100},
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Tue Dec 30 08:11:14 GMT 2025 - 34.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/action/FessLabels.java
public static final String LABELS_spnego_preauth_password = "{labels.spnego_preauth_password}"; /** The key of the message: Allow Basic Auth */ public static final String LABELS_spnego_allow_basic = "{labels.spnego_allow_basic}"; /** The key of the message: Allow Unsecure Basic Auth */ public static final String LABELS_spnego_allow_unsecure_basic = "{labels.spnego_allow_unsecure_basic}";Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 11:54:13 GMT 2026 - 172.6K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/Authenticate.java
} System.out.println("Authenticating for response: " + response); System.out.println("Challenges: " + response.challenges()); String credential = Credentials.basic("jesse", "password1"); return response.request().newBuilder() .header("Authorization", credential) .build(); }) .build(); }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Aug 12 07:26:27 GMT 2021 - 1.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/WebAuthentication.java
config.setRealm(getAuthRealm()); } // AuthSchemeType の設定 final String scheme = getProtocolScheme(); if (Constants.BASIC.equals(scheme)) { config.setAuthSchemeType(AuthSchemeType.BASIC); } else if (Constants.DIGEST.equals(scheme)) { config.setAuthSchemeType(AuthSchemeType.DIGEST); } else if (Constants.NTLM.equals(scheme)) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Jan 10 01:38:30 GMT 2026 - 5.7K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/PreemptiveAuth.java
private final String credentials; private final String host; BasicAuthInterceptor(String host, String username, String password) { this.credentials = Credentials.basic(username, password); this.host = host; } @Override public Response intercept(Chain chain) throws IOException { Request request = chain.request(); if (request.url().host().equals(host)) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Nov 05 07:46:46 GMT 2018 - 2.1K bytes - Click Count (0)