- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 422 for authenticator (0.26 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Authenticator.kt
* prepare preemptive authentication. OkHttp will call [authenticate] with a fake `HTTP/1.1 407 * Proxy Authentication Required` response that has a `Proxy-Authenticate: OkHttp-Preemptive` * challenge. The proxy authenticator may return either an authenticated request, or null to * connect without authentication. * * ```java
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticatorTest.kt
.protocol(HTTP_2) .message("Unauthorized") .build() val authRequest = authenticator.authenticate(route, response) assertEquals( "Basic ${RecordingAuthenticator.BASE_64_CREDENTIALS}", authRequest!!.header("Authorization"), ) } @Test fun noSupportForNonBasicAuth() { val request = Request .Builder()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticator.kt
*/ package okhttp3.internal.authenticator import java.io.IOException import java.net.Authenticator import java.net.InetAddress import java.net.InetSocketAddress import java.net.Proxy import okhttp3.Credentials import okhttp3.Dns import okhttp3.HttpUrl import okhttp3.Request import okhttp3.Response import okhttp3.Route /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/sso/SsoManagerTest.java
SsoAuthenticator[] authenticators = ssoManager.getAuthenticators(); assertEquals(3, authenticators.length); assertEquals(authenticator1, authenticators[0]); assertEquals(authenticator2, authenticators[1]); assertEquals(authenticator3, authenticators[2]); } public void test_getAuthenticators_withNoRegisteredAuthenticators() { SsoAuthenticator[] authenticators = ssoManager.getAuthenticators();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13.9K bytes - Viewed (0) -
okhttp-urlconnection/src/main/kotlin/okhttp3/JavaNetAuthenticator.kt
*/ package okhttp3 import java.io.IOException import okhttp3.Authenticator.Companion.JAVA_NET_AUTHENTICATOR /** * Do not use this. * * Instead, configure your OkHttpClient.Builder to use `Authenticator.JAVA_NET_AUTHENTICATOR`: * * ``` * val okHttpClient = OkHttpClient.Builder() * .authenticator(okhttp3.Authenticator.Companion.JAVA_NET_AUTHENTICATOR) * .build() * ``` */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/SsoManager.java
* @return The action response from the SSO authenticator, or null if SSO is not available */ public ActionResponse getResponse(final SsoResponseType responseType) { if (available()) { final SsoAuthenticator authenticator = getAuthenticator(); if (authenticator != null) { return authenticator.getResponse(responseType); } } return null;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java
*/ public class NtlmPasswordAuthenticatorSecurityTest { private NtlmPasswordAuthenticator authenticator; @BeforeEach public void setUp() { authenticator = null; } @AfterEach public void tearDown() throws Exception { if (authenticator != null) { authenticator.close(); } } @Test @DisplayName("Test password stored as char array")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/sso/SsoAuthenticatorTest.java
// Execute authenticator.resolveCredential(resolver); // Verify assertTrue(authenticator.isResolverCalled()); assertNotNull(authenticator.getLastResolver()); } public void test_resolveCredential_withNullResolver() { // Execute authenticator.resolveCredential(null); // Verify
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Authenticator.java
import jcifs.CIFSContext; import jcifs.CIFSException; import jcifs.spnego.NegTokenInit; /** * Base kerberos authenticator * * Uses a subject that contains kerberos credentials for use in GSSAPI context establishment. * * Be advised that short/NetBIOS name usage is not supported with this authenticator. Always specify full FQDNs.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 13.2K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/Authenticate.kt
import java.io.IOException import okhttp3.Authenticator import okhttp3.Credentials import okhttp3.OkHttpClient import okhttp3.Request import okhttp3.Response import okhttp3.Route class Authenticate { private val client = OkHttpClient .Builder() .authenticator( object : Authenticator { @Throws(IOException::class) override fun authenticate( route: Route?,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2K bytes - Viewed (0)