- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 552 for authenticator (0.88 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 Dec 26 11:42:13 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 Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/SsoManager.java
* Gets all registered SSO authenticators. * * @return Array of all registered SSO authenticators */ public SsoAuthenticator[] getAuthenticators() { return authenticatorList.toArray(new SsoAuthenticator[authenticatorList.size()]); } /** * Registers an SSO authenticator with this manager. * * @param authenticator The SSO authenticator to register */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 5.3K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.5K 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 Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java
* * @return The login credential containing the authenticated username, * an ActionResponseCredential for authentication challenges, * or null if no authentication information is available * @throws SsoLoginException if SPNEGO authentication fails */ @Override public LoginCredential getLoginCredential() {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 17.8K bytes - Viewed (3) -
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 Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2K 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 Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/JAASAuthenticator.java
} /** * Create an authenticator using the given JAAS service and the specified credentials * * @param serviceName * JAAS configuration name * @param domain the domain for authentication * @param username the username for authentication * @param password the password for authentication */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.3K bytes - Viewed (1) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 13.2K bytes - Viewed (0)