- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 552 for authenticator (0.06 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
headers = headersOf("WWW-Authenticate", "Bearer realm=\"oauthed\""), body = "Please authenticate.", ), ) server.enqueue( MockResponse(body = "A"), ) val authenticator = RecordingOkAuthenticator("oauthed abc123", "Bearer") client = client .newBuilder() .authenticator(authenticator) .build()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 133.2K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/Authenticate.java
import okhttp3.Request; import okhttp3.Response; public final class Authenticate { private final OkHttpClient client; public Authenticate() { client = new OkHttpClient.Builder() .authenticator((route, response) -> { if (response.request().header("Authorization") != null) { return null; // Give up, we've already attempted to authenticate. }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Aug 12 07:26:27 UTC 2021 - 1.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt
val hostnameVerifier: HostnameVerifier = client.hostnameVerifier() val certificatePinner: CertificatePinner = client.certificatePinner() val proxyAuthenticator: Authenticator = client.proxyAuthenticator() val authenticator: Authenticator = client.authenticator() val connectionPool: ConnectionPool = client.connectionPool() val dns: Dns = client.dns() val followSslRedirects: Boolean = client.followSslRedirects()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 13.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
return result == 1; } /** The authentication type */ private AuthenticationType type; /** The authentication domain */ private String domain; /** The username for authentication */ private String username; /** The password for authentication */ private char[] password; /** The client challenge for NTLM authentication */ private byte[] clientChallenge = null;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/SsoAuthenticator.java
import org.lastaflute.web.response.ActionResponse; /** * Interface for SSO (Single Sign-On) authenticator implementations. * * This interface defines the contract for SSO authentication providers that can be * integrated with Fess. Implementations handle specific SSO protocols like SAML, * OAuth, SPNEGO, or other authentication mechanisms. Each authenticator is responsible * for obtaining login credentials, resolving user information, and managing SSO
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.2K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java
import jakarta.annotation.PostConstruct; import jakarta.servlet.http.HttpServletRequest; import jakarta.servlet.http.HttpServletResponse; import jakarta.servlet.http.HttpSession; /** * Authenticator for SAML 2.0. * * <p>This authenticator enables Single Sign-On (SSO) using SAML 2.0 protocol * with Identity Providers such as Okta, Azure AD, OneLogin, etc.</p> * * <h2>Required Configuration</h2>
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sun Dec 14 01:18:25 UTC 2025 - 20.2K bytes - Viewed (3) -
docs/features/calls.md
If the response issues an authorization challenge, OkHttp will ask the [`Authenticator`](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-authenticator/) (if one is configured) to satisfy the challenge. If the authenticator supplies a credential, the request is retried with that credential included. ## Retrying Requests
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 3.9K bytes - Viewed (0) -
docs/changelogs/changelog_3x.md
ones that are no longer necessary. * **OkHttp no longer uses the global `java.net.Authenticator` by default.** We've changed our `Authenticator` interface to authenticate web and proxy authentication failures through a single method. An adapter for the old authenticator is available in the `okhttp-urlconnection` module.Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 14:55:54 UTC 2022 - 50.8K bytes - Viewed (0) -
okhttp-urlconnection/api/okhttp-urlconnection.api
public final class okhttp3/JavaNetAuthenticator : okhttp3/Authenticator { public fun <init> ()V public fun authenticate (Lokhttp3/Route;Lokhttp3/Response;)Lokhttp3/Request; } public final class okhttp3/JavaNetCookieJar : okhttp3/CookieJar { public fun <init> (Ljava/net/CookieHandler;)V public fun loadForRequest (Lokhttp3/HttpUrl;)Ljava/util/List; public fun saveFromResponse (Lokhttp3/HttpUrl;Ljava/util/List;)VRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Feb 26 19:17:33 UTC 2022 - 423 bytes - Viewed (0) -
okhttp/api/jvm/okhttp.api
public static final field JAVA_NET_AUTHENTICATOR Lokhttp3/Authenticator; public static final field NONE Lokhttp3/Authenticator; public abstract fun authenticate (Lokhttp3/Route;Lokhttp3/Response;)Lokhttp3/Request; } public final class okhttp3/Authenticator$Companion { } public final class okhttp3/Cache : java/io/Closeable, java/io/Flushable { public static final field Companion Lokhttp3/Cache$Companion;Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 70.2K bytes - Viewed (0)