- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 73 for Authenticator (0.2 sec)
-
okhttp/src/main/kotlin/okhttp3/Authenticator.kt
companion object { /** An authenticator that knows no credentials and makes no attempt to authenticate. */ @JvmField val NONE: Authenticator = AuthenticatorNone() private class AuthenticatorNone : Authenticator { override fun authenticate( route: Route?, response: Response, ): Request? = null }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.5K bytes - Viewed (0) -
okhttp/src/main/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 Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.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 Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/authenticator/JavaNetAuthenticatorTest.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.authenticator import java.net.Authenticator import java.net.InetAddress import junit.framework.TestCase.assertNull import okhttp3.FakeDns import okhttp3.Protocol.HTTP_2 import okhttp3.Request import okhttp3.Response
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/SsoManager.java
final SsoAuthenticator authenticator = getAuthenticator(); if (authenticator != null) { return authenticator.getLoginCredential(); } } return null; } public ActionResponse getResponse(final SsoResponseType responseType) { if (available()) { final SsoAuthenticator authenticator = getAuthenticator();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/JAASAuthenticator.java
import org.slf4j.LoggerFactory; import jcifs.CIFSException; /** * JAAS kerberos authenticator * * Either configure JAAS for credential caching or reuse a single instance of this authenticator -otherwise you won't * get proper ticket caching. * * Be advised that short/NetBIOS name usage is not supported with this authenticator. Always specify full FQDNs/Realm.
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 8.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/sso/aad/AzureAdAuthenticatorTest.java
public void test_addGroupOrRoleName() { AzureAdAuthenticator authenticator = new AzureAdAuthenticator(); List<String> list = new ArrayList<>(); list.clear(); authenticator.addGroupOrRoleName(list, "test", true); assertEquals(1, list.size()); assertEquals("test", list.get(0)); list.clear(); authenticator.addGroupOrRoleName(list, "test", false);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/Authenticate.kt
*/ package okhttp3.recipes.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(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.9K bytes - Viewed (0) -
okhttp-urlconnection/README.md
OkHttp URLConnection ==================== This module integrates OkHttp with `Authenticator` and `CookieHandler` from `java.net`. This module is obsolete; prefer `okhttp-java-net-cookiejar`. ### Download ```kotlin testImplementation("com.squareup.okhttp3:okhttp-urlconnection:4.12.0")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Dec 17 15:34:10 UTC 2023 - 293 bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/RecordingOkAuthenticator.kt
* limitations under the License. */ package okhttp3.internal import java.io.IOException import okhttp3.Authenticator import okhttp3.Request import okhttp3.Response import okhttp3.Route class RecordingOkAuthenticator( val credential: String?, val scheme: String?, ) : Authenticator { val responses = mutableListOf<Response>() val routes = mutableListOf<Route>()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.7K bytes - Viewed (0)