- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 181 for BASIC (0.2 seconds)
-
fastapi/security/http.py
class HTTPBasicCredentials(BaseModel): """ The HTTP Basic credentials given as the result of using `HTTPBasic` in a dependency. Read more about it in the [FastAPI docs for HTTP Basic Auth](https://fastapi.tiangolo.com/advanced/security/http-basic-auth/). """ username: Annotated[str, Doc("The HTTP Basic username.")] password: Annotated[str, Doc("The HTTP Basic password.")]
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Mar 16 10:16:48 GMT 2026 - 13.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HeadersChallengesTest.kt
.add("WWW-Authenticate", "Basic realm=myrealm") .add("WWW-Authenticate", "Basic realm=myotherrealm") .build() assertThat(headers.parseChallenges("WWW-Authenticate")).containsExactly( Challenge("Basic", mapOf("realm" to "myrealm")), Challenge("Basic", mapOf("realm" to "myotherrealm")), ) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 16.8K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerTest.java
void testModelAndFactory() { MavenSession session = mock(MavenSession.class); List<ToolchainModel> toolchainModels = List.of( ToolchainModel.newBuilder().type("basic").build(), ToolchainModel.newBuilder().type("basic").build(), ToolchainModel.newBuilder().type("rare").build()); Session sessionv4 = mock(Session.class); when(session.getSession()).thenReturn(sessionv4);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 11K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java
assertEquals(2000000L, basicInfo.getLastWriteTime()); assertEquals(0L, basicInfo.getSize()); // Basic info always returns 0 for size } @Test @DisplayName("Should generate correct toString for basic info") void testBasicInfoToString() { Trans2QueryPathInformationResponse.SmbQueryFileBasicInfo basicInfo = response.new SmbQueryFileBasicInfo();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java
@Test public void test_basic_functionality() { // Basic functionality test without complex operations try { List<String> emptyIds = new ArrayList<>(); dataIndexHelper.crawl("basic-test", emptyIds); assertTrue("Basic functionality should be fast", true); } catch (Exception e) { assertTrue("Basic functionality should handle exceptions quickly", true); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.9K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmHttpFilterTest.java
filter.doFilter(request, response, filterChain); // Should only offer NTLM, not Basic auth verify(response).setHeader("WWW-Authenticate", "NTLM"); verify(response, never()).addHeader(eq("WWW-Authenticate"), eq("Basic realm=\"TestRealm\"")); } @Test void testDoFilter_ntlmType1Message() throws Exception {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 12.8K bytes - Click Count (0) -
fastapi/security/oauth2.py
client_id: optional string. OAuth2 recommends sending the client_id and client_secret (if any) using HTTP Basic auth, as: client_id:client_secret client_secret: optional string. OAuth2 recommends sending the client_id and client_secret (if any) using HTTP Basic auth, as: client_id:client_secret """ def __init__( self, grant_type: Annotated[ str,
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Mar 24 16:32:10 GMT 2026 - 23.6K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmServletTest.java
verify(session, never()).setAttribute(anyString(), any()); } } /** * Test the service method with a valid Basic Authorization header. * Simulates a successful Basic authentication. * @throws ServletException * @throws IOException * @throws CIFSException */ @Test void testService_BasicAuth_Success() throws Exception {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
*/ private byte[] createLargeBufferForContexts() { byte[] buffer = new byte[1024]; // Large enough for contexts // Copy basic structure byte[] basic = createBasicNegotiateResponseBuffer(); System.arraycopy(basic, 0, buffer, 0, basic.length); return buffer; } /** * Creates a completely valid negotiate response buffer for positive testing. */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
* This is a simplified test that verifies the basic flow without full NTLM protocol simulation. * @throws IOException * @throws SecurityException */ @Test void testSuccessfulHandshake() throws IOException, SecurityException { // This test is simplified to verify basic handshake behavior // Full NTLM handshake testing would require more complex mockingCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.6K bytes - Click Count (0)